Skip to content
Heist/ feed
Back to feed
UnratedFix available

block: Fix WARNING in _copy_from_iter

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: block: Fix WARNING in _copy_from_iter Syzkaller reports a warning in _copy_from_iter because an iov_iter is supposedly used in the wrong direction. The reason is that syzcaller managed to generate a request with a transfer direction of SG_DXFER_TO_FROM_DEV. This instructs the kernel to copy user buffers into the kernel, read into the copied buffers and then copy the data back to user space. Thus the iovec is used in both directions. Detect this situation in the block layer and construct a new iterator with the correct direction for the copy-in.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.80, 6.6.19, 6.7.7
CVEs
CVE-2024-26844
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 20:29 UTC · Revision 1

Source evidence

block: Fix WARNING in _copy_from_iter

core-osv · Original source

Published 17 Apr 2024, 10:10 UTC

In the Linux kernel, the following vulnerability has been resolved: block: Fix WARNING in _copy_from_iter Syzkaller reports a warning in _copy_from_iter because an iov_iter is supposedly used in the wrong direction. The reason is that syzcaller managed to generate a request with a transfer direction of SG_DXFER_TO_FROM_DEV. This instructs the kernel to copy user buffers into the kernel, read into the copied buffers and then copy the data back to user space. Thus the iovec is used in both directions. Detect this situation in the block layer and construct a new iterator with the correct direction for the copy-in.

osv:CVE-2024-26844

Kernel

Fixed versions: 6.1.80, 6.6.19, 6.7.7

Complete source record
{
  "id": "b7400c3ac52a0aaa08b1915ce69d8de14aacf5f20d65d8e218066ce37ee965dc",
  "url": "https://osv.dev/vulnerability/CVE-2024-26844",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "block: Fix WARNING in _copy_from_iter",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: block: Fix WARNING in _copy_from_iter Syzkaller reports a warning in _copy_from_iter because an iov_iter is supposedly used in the wrong direction. The reason is that syzcaller managed to generate a request with a transfer direction of SG_DXFER_TO_FROM_DEV. This instructs the kernel to copy user buffers into the kernel, read into the copied buffers and then copy the data back to user space. Thus the iovec is used in both directions. Detect this situation in the block layer and construct a new iterator with the correct direction for the copy-in.",
    "evidence": "osv:CVE-2024-26844",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.80",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.19",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.7.7",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2024-26844",
      "aliases": [
        "CVE-2024-26844"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "9124d3fe21b0947b03f4b87bcfb7acd675d6e85b"
                },
                {
                  "fixed": "8fc80874103a5c20aebdc2401361aa01c817f75b"
                },
                {
                  "fixed": "0f1bae071de9967602807472921829a54b2e5956"
                },
                {
                  "fixed": "cbaf9be337f7da25742acfce325119e3395b1f1b"
                },
                {
                  "fixed": "13f3956eb5681a4045a8dfdef48df5dc4d9f58a6"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26844.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.0.0"
                },
                {
                  "fixed": "6.1.80"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.19"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.7.7"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26844.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:23.577851269Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/0f1bae071de9967602807472921829a54b2e5956",
        "https://git.kernel.org/stable/c/13f3956eb5681a4045a8dfdef48df5dc4d9f58a6",
        "https://git.kernel.org/stable/c/8fc80874103a5c20aebdc2401361aa01c817f75b",
        "https://git.kernel.org/stable/c/cbaf9be337f7da25742acfce325119e3395b1f1b",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26844.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-26844",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26844.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-26844",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 489858,
  "published_at": "2024-04-17T10:10:08.711+00:00"
}