GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2024-35979 (GCVE-0-2024-35979)

Vulnerability from cvelistv5 – Published: 2024-05-20 09:42 – Updated: 2026-08-05 11:31
VLAI
Title
raid1: fix use-after-free for original bio in raid1_write_request()
Summary
In the Linux kernel, the following vulnerability has been resolved: raid1: fix use-after-free for original bio in raid1_write_request() r1_bio->bios[] is used to record new bios that will be issued to underlying disks, however, in raid1_write_request(), r1_bio->bios[] will set to the original bio temporarily. Meanwhile, if blocked rdev is set, free_r1bio() will be called causing that all r1_bio->bios[] to be freed: raid1_write_request() r1_bio = alloc_r1bio(mddev, bio); -> r1_bio->bios[] is NULL for (i = 0; i < disks; i++) -> for each rdev in conf // first rdev is normal r1_bio->bios[0] = bio; -> set to original bio // second rdev is blocked if (test_bit(Blocked, &rdev->flags)) break if (blocked_rdev) free_r1bio() put_all_bios() bio_put(r1_bio->bios[0]) -> original bio is freed Test scripts: mdadm -CR /dev/md0 -l1 -n4 /dev/sd[abcd] --assume-clean fio -filename=/dev/md0 -ioengine=libaio -rw=write -bs=4k -numjobs=1 \ -iodepth=128 -name=test -direct=1 echo blocked > /sys/block/md0/md/rd2/state Test result: BUG bio-264 (Not tainted): Object already free ----------------------------------------------------------------------------- Allocated in mempool_alloc_slab+0x24/0x50 age=1 cpu=1 pid=869 kmem_cache_alloc+0x324/0x480 mempool_alloc_slab+0x24/0x50 mempool_alloc+0x6e/0x220 bio_alloc_bioset+0x1af/0x4d0 blkdev_direct_IO+0x164/0x8a0 blkdev_write_iter+0x309/0x440 aio_write+0x139/0x2f0 io_submit_one+0x5ca/0xb70 __do_sys_io_submit+0x86/0x270 __x64_sys_io_submit+0x22/0x30 do_syscall_64+0xb1/0x210 entry_SYSCALL_64_after_hwframe+0x6c/0x74 Freed in mempool_free_slab+0x1f/0x30 age=1 cpu=1 pid=869 kmem_cache_free+0x28c/0x550 mempool_free_slab+0x1f/0x30 mempool_free+0x40/0x100 bio_free+0x59/0x80 bio_put+0xf0/0x220 free_r1bio+0x74/0xb0 raid1_make_request+0xadf/0x1150 md_handle_request+0xc7/0x3b0 md_submit_bio+0x76/0x130 __submit_bio+0xd8/0x1d0 submit_bio_noacct_nocheck+0x1eb/0x5c0 submit_bio_noacct+0x169/0xd40 submit_bio+0xee/0x1d0 blkdev_direct_IO+0x322/0x8a0 blkdev_write_iter+0x309/0x440 aio_write+0x139/0x2f0 Since that bios for underlying disks are not allocated yet, fix this problem by using mempool_free() directly to free the r1_bio.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2024-06-17 17:38 UTC
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 992db13a4aee766c8bfbf046ad15c2db5fa7cab8 , < 3f28d49a328fe20926995d5fbdc92da665596268 (git)
Affected: 992db13a4aee766c8bfbf046ad15c2db5fa7cab8 , < f423f41b7679c09abb26d2bd54be5cbef23c9446 (git)
Affected: 992db13a4aee766c8bfbf046ad15c2db5fa7cab8 , < fcf3f7e2fc8a53a6140beee46ec782a4c88e4744 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.6
Unaffected: 0 , < 6.6 (semver)
Unaffected: 6.6.28 , ≤ 6.6.* (semver)
Unaffected: 6.8.7 , ≤ 6.8.* (semver)
Unaffected: 6.9 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-35979",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-06-17T17:38:14.409469Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-17T17:40:22.888Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T03:21:49.042Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/3f28d49a328fe20926995d5fbdc92da665596268"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/f423f41b7679c09abb26d2bd54be5cbef23c9446"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/fcf3f7e2fc8a53a6140beee46ec782a4c88e4744"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/md/raid1.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "3f28d49a328fe20926995d5fbdc92da665596268",
              "status": "affected",
              "version": "992db13a4aee766c8bfbf046ad15c2db5fa7cab8",
              "versionType": "git"
            },
            {
              "lessThan": "f423f41b7679c09abb26d2bd54be5cbef23c9446",
              "status": "affected",
              "version": "992db13a4aee766c8bfbf046ad15c2db5fa7cab8",
              "versionType": "git"
            },
            {
              "lessThan": "fcf3f7e2fc8a53a6140beee46ec782a4c88e4744",
              "status": "affected",
              "version": "992db13a4aee766c8bfbf046ad15c2db5fa7cab8",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/md/raid1.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.6"
            },
            {
              "lessThan": "6.6",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.28",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.8.*",
              "status": "unaffected",
              "version": "6.8.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.9",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.28",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.8.7",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.9",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nraid1: fix use-after-free for original bio in raid1_write_request()\n\nr1_bio-\u003ebios[] is used to record new bios that will be issued to\nunderlying disks, however, in raid1_write_request(), r1_bio-\u003ebios[]\nwill set to the original bio temporarily. Meanwhile, if blocked rdev\nis set, free_r1bio() will be called causing that all r1_bio-\u003ebios[]\nto be freed:\n\nraid1_write_request()\n r1_bio = alloc_r1bio(mddev, bio); -\u003e r1_bio-\u003ebios[] is NULL\n for (i = 0;  i \u003c disks; i++) -\u003e for each rdev in conf\n  // first rdev is normal\n  r1_bio-\u003ebios[0] = bio; -\u003e set to original bio\n  // second rdev is blocked\n  if (test_bit(Blocked, \u0026rdev-\u003eflags))\n   break\n\n if (blocked_rdev)\n  free_r1bio()\n   put_all_bios()\n    bio_put(r1_bio-\u003ebios[0]) -\u003e original bio is freed\n\nTest scripts:\n\nmdadm -CR /dev/md0 -l1 -n4 /dev/sd[abcd] --assume-clean\nfio -filename=/dev/md0 -ioengine=libaio -rw=write -bs=4k -numjobs=1 \\\n    -iodepth=128 -name=test -direct=1\necho blocked \u003e /sys/block/md0/md/rd2/state\n\nTest result:\n\nBUG bio-264 (Not tainted): Object already free\n-----------------------------------------------------------------------------\n\nAllocated in mempool_alloc_slab+0x24/0x50 age=1 cpu=1 pid=869\n kmem_cache_alloc+0x324/0x480\n mempool_alloc_slab+0x24/0x50\n mempool_alloc+0x6e/0x220\n bio_alloc_bioset+0x1af/0x4d0\n blkdev_direct_IO+0x164/0x8a0\n blkdev_write_iter+0x309/0x440\n aio_write+0x139/0x2f0\n io_submit_one+0x5ca/0xb70\n __do_sys_io_submit+0x86/0x270\n __x64_sys_io_submit+0x22/0x30\n do_syscall_64+0xb1/0x210\n entry_SYSCALL_64_after_hwframe+0x6c/0x74\nFreed in mempool_free_slab+0x1f/0x30 age=1 cpu=1 pid=869\n kmem_cache_free+0x28c/0x550\n mempool_free_slab+0x1f/0x30\n mempool_free+0x40/0x100\n bio_free+0x59/0x80\n bio_put+0xf0/0x220\n free_r1bio+0x74/0xb0\n raid1_make_request+0xadf/0x1150\n md_handle_request+0xc7/0x3b0\n md_submit_bio+0x76/0x130\n __submit_bio+0xd8/0x1d0\n submit_bio_noacct_nocheck+0x1eb/0x5c0\n submit_bio_noacct+0x169/0xd40\n submit_bio+0xee/0x1d0\n blkdev_direct_IO+0x322/0x8a0\n blkdev_write_iter+0x309/0x440\n aio_write+0x139/0x2f0\n\nSince that bios for underlying disks are not allocated yet, fix this\nproblem by using mempool_free() directly to free the r1_bio."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The bug is in the md/raid1 block driver and is reached only through local I/O submission \u2014 a write to /dev/mdX (O_DIRECT/AIO/io_uring) or to a filesystem hosted on the array \u2014 via md_submit_bio() \u2192 md_handle_request() \u2192 raid1_make_request() \u2192 raid1_write_request(). No remote or network protocol reaches this code.\nAC:L - Once any member rdev carries the Blocked/BlockedBadBlocks flag (set by raid1_error() on a failing member, by an unacknowledged bad block, or by a one-line sysfs write), every subsequent write to the array deterministically takes the blocked_rdev path and calls free_r1bio() on an r1bio whose bios[] entries still alias the caller\u0027s original bio \u2014 no race must be won, and the upstream reproducer triggers it reliably on the first write batch.\nPR:L - The freed object is the submitting task\u0027s own bio, and any unprivileged user who can write to a file on a raid1-backed filesystem (or to the array device) supplies the bio that gets prematurely bio_put()\u0027d; no capability is checked anywhere on md_submit_bio() \u2192 raid1_write_request(), and the Blocked state is ordinary array state rather than a privilege the attacker must hold.\nUI:N - The attacker\u0027s own write syscalls drive the entire path; no action by another user or administrator is needed at exploitation time.\nS:U - The corruption is confined to kernel heap objects managed by the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - The original bio is returned to its bioset mempool and then kept in use as r1_bio-\u003emaster_bio: it is re-read by init_r1bio(), bio_split()/bio_chain(), and bio_alloc_clone(), which copies bi_bdev, bi_iter and the bi_io_vec pointer out of freed memory \u2014 after reallocation with attacker-sprayed data this yields disk I/O into or out of attacker-chosen kernel memory, an arbitrary-read primitive.\nI:H - md_wait_for_blocked_rdev() sleeps with the freed bio still referenced, giving an unbounded window to reclaim the slab object; the clones built from it write attacker-controlled vectors, and call_bio_endio() finally invokes bio-\u003ebi_end_io from freed memory, giving a function-pointer hijack plus a double-free when the original submitter completes the same bio.\nA:H - This is a use-after-free/double-free on a mempool-backed slab object that KASAN/SLUB flags as \"Object already free\"; in practice it panics the kernel or corrupts the block layer\u0027s bio state, taking the storage stack and the machine down."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:31:21.769Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/3f28d49a328fe20926995d5fbdc92da665596268"
        },
        {
          "url": "https://git.kernel.org/stable/c/f423f41b7679c09abb26d2bd54be5cbef23c9446"
        },
        {
          "url": "https://git.kernel.org/stable/c/fcf3f7e2fc8a53a6140beee46ec782a4c88e4744"
        }
      ],
      "title": "raid1: fix use-after-free for original bio in raid1_write_request()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-35979",
    "datePublished": "2024-05-20T09:42:04.424Z",
    "dateReserved": "2024-05-17T13:50:33.144Z",
    "dateUpdated": "2026-08-05T11:31:21.769Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2024-35979",
      "date": "2026-09-16",
      "epss": "0.00229",
      "percentile": "0.13884"
    },
    "fkie_nvd": {
      "descriptions": "[{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nraid1: fix use-after-free for original bio in raid1_write_request()\\n\\nr1_bio-\u003ebios[] is used to record new bios that will be issued to\\nunderlying disks, however, in raid1_write_request(), r1_bio-\u003ebios[]\\nwill set to the original bio temporarily. Meanwhile, if blocked rdev\\nis set, free_r1bio() will be called causing that all r1_bio-\u003ebios[]\\nto be freed:\\n\\nraid1_write_request()\\n r1_bio = alloc_r1bio(mddev, bio); -\u003e r1_bio-\u003ebios[] is NULL\\n for (i = 0;  i \u003c disks; i++) -\u003e for each rdev in conf\\n  // first rdev is normal\\n  r1_bio-\u003ebios[0] = bio; -\u003e set to original bio\\n  // second rdev is blocked\\n  if (test_bit(Blocked, \u0026rdev-\u003eflags))\\n   break\\n\\n if (blocked_rdev)\\n  free_r1bio()\\n   put_all_bios()\\n    bio_put(r1_bio-\u003ebios[0]) -\u003e original bio is freed\\n\\nTest scripts:\\n\\nmdadm -CR /dev/md0 -l1 -n4 /dev/sd[abcd] --assume-clean\\nfio -filename=/dev/md0 -ioengine=libaio -rw=write -bs=4k -numjobs=1 \\\\\\n    -iodepth=128 -name=test -direct=1\\necho blocked \u003e /sys/block/md0/md/rd2/state\\n\\nTest result:\\n\\nBUG bio-264 (Not tainted): Object already free\\n-----------------------------------------------------------------------------\\n\\nAllocated in mempool_alloc_slab+0x24/0x50 age=1 cpu=1 pid=869\\n kmem_cache_alloc+0x324/0x480\\n mempool_alloc_slab+0x24/0x50\\n mempool_alloc+0x6e/0x220\\n bio_alloc_bioset+0x1af/0x4d0\\n blkdev_direct_IO+0x164/0x8a0\\n blkdev_write_iter+0x309/0x440\\n aio_write+0x139/0x2f0\\n io_submit_one+0x5ca/0xb70\\n __do_sys_io_submit+0x86/0x270\\n __x64_sys_io_submit+0x22/0x30\\n do_syscall_64+0xb1/0x210\\n entry_SYSCALL_64_after_hwframe+0x6c/0x74\\nFreed in mempool_free_slab+0x1f/0x30 age=1 cpu=1 pid=869\\n kmem_cache_free+0x28c/0x550\\n mempool_free_slab+0x1f/0x30\\n mempool_free+0x40/0x100\\n bio_free+0x59/0x80\\n bio_put+0xf0/0x220\\n free_r1bio+0x74/0xb0\\n raid1_make_request+0xadf/0x1150\\n md_handle_request+0xc7/0x3b0\\n md_submit_bio+0x76/0x130\\n __submit_bio+0xd8/0x1d0\\n submit_bio_noacct_nocheck+0x1eb/0x5c0\\n submit_bio_noacct+0x169/0xd40\\n submit_bio+0xee/0x1d0\\n blkdev_direct_IO+0x322/0x8a0\\n blkdev_write_iter+0x309/0x440\\n aio_write+0x139/0x2f0\\n\\nSince that bios for underlying disks are not allocated yet, fix this\\nproblem by using mempool_free() directly to free the r1_bio.\"}, {\"lang\": \"es\", \"value\": \"En el kernel de Linux, se resolvi\\u00f3 la siguiente vulnerabilidad: raid1: corrige el uso despu\\u00e9s de liberar la biograf\\u00eda original en raid1_write_request() r1_bio-\u0026gt;bios[] se usa para registrar nuevas biograf\\u00edas que se emitir\\u00e1n a los discos subyacentes; sin embargo, en raid1_write_request(), r1_bio-\u0026gt;bios[] se configurar\\u00e1 temporalmente en la biograf\\u00eda original. Mientras tanto, si se establece rdev bloqueado, se llamar\\u00e1 a free_r1bio() causando que todos los r1_bio-\u0026gt;bios[] sean liberados: raid1_write_request() r1_bio = alloc_r1bio(mddev, bio); -\u0026gt; r1_bio-\u0026gt;bios[] es NULL para (i = 0; i \u0026lt; discos; i++) -\u0026gt; para cada rdev en conf // el primer rdev es normal r1_bio-\u0026gt;bios[0] = bio; -\u0026gt; establecer en biograf\\u00eda original // el segundo rdev est\\u00e1 bloqueado si (test_bit(Blocked, \u0026amp;rdev-\u0026gt;flags)) break if (blocked_rdev) free_r1bio() put_all_bios() bio_put(r1_bio-\u0026gt;bios[0]) -\u0026gt; biograf\\u00eda original es Scripts de prueba liberados: mdadm -CR /dev/md0 -l1 -n4 /dev/sd[abcd] --assume-clean fio -filename=/dev/md0 -ioengine=libaio -rw=write -bs=4k -numjobs= 1 \\\\ -io Depth=128 -name=test -direct=1 eco bloqueado \u0026gt; /sys/block/md0/md/rd2/state Resultado de la prueba: ERROR bio-264 (No contaminado): Objeto ya libre ------ -------------------------------------------------- --------------------- Asignado en mempool_alloc_slab+0x24/0x50 age=1 cpu=1 pid=869 kmem_cache_alloc+0x324/0x480 mempool_alloc_slab+0x24/0x50 mempool_alloc+0x6e /0x220 bio_alloc_bioset+0x1af/0x4d0 blkdev_direct_IO+0x164/0x8a0 blkdev_write_iter+0x309/0x440 aio_write+0x139/0x2f0 io_submit_one+0x5ca/0xb70 __do_sys_io_submit+0x86/0x270 __x64_sys_io_submit+0x22/0x30 do_syscall_64+0xb1/0x210 Entry_SYSCALL_64_after_hwframe+0x6c/0x74 Liberado en mempool_free_slab +0x1f/0x30 edad=1 cpu=1 pid=869 kmem_cache_free+0x28c/0x550 mempool_free_slab+0x1f/0x30 mempool_free+0x40/0x100 bio_free+0x59/0x80 bio_put+0xf0/0x220 free_r1bio+0x74/0xb0 raid1_make_ request+0xadf/0x1150 md_handle_request+ 0xc7/0x3b0 md_submit_bio+0x76/0x130 __submit_bio+0xd8/0x1d0 submit_bio_noacct_nocheck+0x1eb/0x5c0 submit_bio_noacct+0x169/0xd40 submit_bio+0xee/0x1d0 blkdev_direct_IO+0x322/0x8a0 _write_iter+0x309/0x440 aio_write+0x139/0x2f0 Dado que las BIOS para los discos subyacentes son a\\u00fan no asignado, solucione este problema usando mempool_free() directamente para liberar r1_bio.\"}]",
      "id": "CVE-2024-35979",
      "lastModified": "2024-11-21T09:21:20.893",
      "published": "2024-05-20T10:15:12.480",
      "references": "[{\"url\": \"https://git.kernel.org/stable/c/3f28d49a328fe20926995d5fbdc92da665596268\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/f423f41b7679c09abb26d2bd54be5cbef23c9446\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/fcf3f7e2fc8a53a6140beee46ec782a4c88e4744\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/3f28d49a328fe20926995d5fbdc92da665596268\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/f423f41b7679c09abb26d2bd54be5cbef23c9446\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/fcf3f7e2fc8a53a6140beee46ec782a4c88e4744\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}]",
      "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "vulnStatus": "Undergoing Analysis"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-35979\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-05-20T10:15:12.480\",\"lastModified\":\"2026-08-04T11:18:18.093\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nraid1: fix use-after-free for original bio in raid1_write_request()\\n\\nr1_bio-\u003ebios[] is used to record new bios that will be issued to\\nunderlying disks, however, in raid1_write_request(), r1_bio-\u003ebios[]\\nwill set to the original bio temporarily. Meanwhile, if blocked rdev\\nis set, free_r1bio() will be called causing that all r1_bio-\u003ebios[]\\nto be freed:\\n\\nraid1_write_request()\\n r1_bio = alloc_r1bio(mddev, bio); -\u003e r1_bio-\u003ebios[] is NULL\\n for (i = 0;  i \u003c disks; i++) -\u003e for each rdev in conf\\n  // first rdev is normal\\n  r1_bio-\u003ebios[0] = bio; -\u003e set to original bio\\n  // second rdev is blocked\\n  if (test_bit(Blocked, \u0026rdev-\u003eflags))\\n   break\\n\\n if (blocked_rdev)\\n  free_r1bio()\\n   put_all_bios()\\n    bio_put(r1_bio-\u003ebios[0]) -\u003e original bio is freed\\n\\nTest scripts:\\n\\nmdadm -CR /dev/md0 -l1 -n4 /dev/sd[abcd] --assume-clean\\nfio -filename=/dev/md0 -ioengine=libaio -rw=write -bs=4k -numjobs=1 \\\\\\n    -iodepth=128 -name=test -direct=1\\necho blocked \u003e /sys/block/md0/md/rd2/state\\n\\nTest result:\\n\\nBUG bio-264 (Not tainted): Object already free\\n-----------------------------------------------------------------------------\\n\\nAllocated in mempool_alloc_slab+0x24/0x50 age=1 cpu=1 pid=869\\n kmem_cache_alloc+0x324/0x480\\n mempool_alloc_slab+0x24/0x50\\n mempool_alloc+0x6e/0x220\\n bio_alloc_bioset+0x1af/0x4d0\\n blkdev_direct_IO+0x164/0x8a0\\n blkdev_write_iter+0x309/0x440\\n aio_write+0x139/0x2f0\\n io_submit_one+0x5ca/0xb70\\n __do_sys_io_submit+0x86/0x270\\n __x64_sys_io_submit+0x22/0x30\\n do_syscall_64+0xb1/0x210\\n entry_SYSCALL_64_after_hwframe+0x6c/0x74\\nFreed in mempool_free_slab+0x1f/0x30 age=1 cpu=1 pid=869\\n kmem_cache_free+0x28c/0x550\\n mempool_free_slab+0x1f/0x30\\n mempool_free+0x40/0x100\\n bio_free+0x59/0x80\\n bio_put+0xf0/0x220\\n free_r1bio+0x74/0xb0\\n raid1_make_request+0xadf/0x1150\\n md_handle_request+0xc7/0x3b0\\n md_submit_bio+0x76/0x130\\n __submit_bio+0xd8/0x1d0\\n submit_bio_noacct_nocheck+0x1eb/0x5c0\\n submit_bio_noacct+0x169/0xd40\\n submit_bio+0xee/0x1d0\\n blkdev_direct_IO+0x322/0x8a0\\n blkdev_write_iter+0x309/0x440\\n aio_write+0x139/0x2f0\\n\\nSince that bios for underlying disks are not allocated yet, fix this\\nproblem by using mempool_free() directly to free the r1_bio.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se resolvi\u00f3 la siguiente vulnerabilidad: raid1: corrige el uso despu\u00e9s de liberar la biograf\u00eda original en raid1_write_request() r1_bio-\u0026gt;bios[] se usa para registrar nuevas biograf\u00edas que se emitir\u00e1n a los discos subyacentes; sin embargo, en raid1_write_request(), r1_bio-\u0026gt;bios[] se configurar\u00e1 temporalmente en la biograf\u00eda original. Mientras tanto, si se establece rdev bloqueado, se llamar\u00e1 a free_r1bio() causando que todos los r1_bio-\u0026gt;bios[] sean liberados: raid1_write_request() r1_bio = alloc_r1bio(mddev, bio); -\u0026gt; r1_bio-\u0026gt;bios[] es NULL para (i = 0; i \u0026lt; discos; i++) -\u0026gt; para cada rdev en conf // el primer rdev es normal r1_bio-\u0026gt;bios[0] = bio; -\u0026gt; establecer en biograf\u00eda original // el segundo rdev est\u00e1 bloqueado si (test_bit(Blocked, \u0026amp;rdev-\u0026gt;flags)) break if (blocked_rdev) free_r1bio() put_all_bios() bio_put(r1_bio-\u0026gt;bios[0]) -\u0026gt; biograf\u00eda original es Scripts de prueba liberados: mdadm -CR /dev/md0 -l1 -n4 /dev/sd[abcd] --assume-clean fio -filename=/dev/md0 -ioengine=libaio -rw=write -bs=4k -numjobs= 1 \\\\ -io Depth=128 -name=test -direct=1 eco bloqueado \u0026gt; /sys/block/md0/md/rd2/state Resultado de la prueba: ERROR bio-264 (No contaminado): Objeto ya libre ------ -------------------------------------------------- --------------------- Asignado en mempool_alloc_slab+0x24/0x50 age=1 cpu=1 pid=869 kmem_cache_alloc+0x324/0x480 mempool_alloc_slab+0x24/0x50 mempool_alloc+0x6e /0x220 bio_alloc_bioset+0x1af/0x4d0 blkdev_direct_IO+0x164/0x8a0 blkdev_write_iter+0x309/0x440 aio_write+0x139/0x2f0 io_submit_one+0x5ca/0xb70 __do_sys_io_submit+0x86/0x270 __x64_sys_io_submit+0x22/0x30 do_syscall_64+0xb1/0x210 Entry_SYSCALL_64_after_hwframe+0x6c/0x74 Liberado en mempool_free_slab +0x1f/0x30 edad=1 cpu=1 pid=869 kmem_cache_free+0x28c/0x550 mempool_free_slab+0x1f/0x30 mempool_free+0x40/0x100 bio_free+0x59/0x80 bio_put+0xf0/0x220 free_r1bio+0x74/0xb0 raid1_make_ request+0xadf/0x1150 md_handle_request+ 0xc7/0x3b0 md_submit_bio+0x76/0x130 __submit_bio+0xd8/0x1d0 submit_bio_noacct_nocheck+0x1eb/0x5c0 submit_bio_noacct+0x169/0xd40 submit_bio+0xee/0x1d0 blkdev_direct_IO+0x322/0x8a0 _write_iter+0x309/0x440 aio_write+0x139/0x2f0 Dado que las BIOS para los discos subyacentes son a\u00fan no asignado, solucione este problema usando mempool_free() directamente para liberar r1_bio.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/md/raid1.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"992db13a4aee766c8bfbf046ad15c2db5fa7cab8\",\"lessThan\":\"3f28d49a328fe20926995d5fbdc92da665596268\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"992db13a4aee766c8bfbf046ad15c2db5fa7cab8\",\"lessThan\":\"f423f41b7679c09abb26d2bd54be5cbef23c9446\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"992db13a4aee766c8bfbf046ad15c2db5fa7cab8\",\"lessThan\":\"fcf3f7e2fc8a53a6140beee46ec782a4c88e4744\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/md/raid1.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.6\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.6\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.28\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.8.7\",\"lessThanOrEqual\":\"6.8.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.9\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2024-06-17T17:38:14.409469Z\",\"id\":\"CVE-2024-35979\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"partial\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-416\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.6\",\"versionEndExcluding\":\"6.6.28\",\"matchCriteriaId\":\"54CE4EE1-C720-47E5-B190-A9E343A08775\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.7\",\"versionEndExcluding\":\"6.8.7\",\"matchCriteriaId\":\"531BDFB5-EF6A-4707-902E-146368303499\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"22BEDD49-2C6D-402D-9DBF-6646F6ECD10B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*\",\"matchCriteriaId\":\"DF73CB2A-DFFD-46FB-9BFE-AA394F27EA37\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:*\",\"matchCriteriaId\":\"52048DDA-FC5A-4363-95A0-A6357B4D7F8C\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/3f28d49a328fe20926995d5fbdc92da665596268\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/f423f41b7679c09abb26d2bd54be5cbef23c9446\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/fcf3f7e2fc8a53a6140beee46ec782a4c88e4744\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/3f28d49a328fe20926995d5fbdc92da665596268\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/f423f41b7679c09abb26d2bd54be5cbef23c9446\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/fcf3f7e2fc8a53a6140beee46ec782a4c88e4744\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-08-04T22:47:04+00:00",
      "cve": "CVE-2024-35979",
      "id": "CVE-2024-35979",
      "initial_release_date": "2024-05-20T00:00:00+00:00",
      "product_status:fixed": "280",
      "product_status:known_affected": "112",
      "product_status:known_not_affected": "8",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: raid1: fix use-after-free for original bio in raid1_write_request()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-35979.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-30T02:36:38Z",
      "cve": "CVE-2024-35979",
      "id": "CVE-2024-35979",
      "initial_release_date": "2024-05-21T01:58:33Z",
      "product_status:known_affected": "411",
      "product_status:known_not_affected": "229",
      "product_status:recommended": "721",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2024-35979",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2024-35979.json",
      "version": "82"
    },
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/3f28d49a328fe20926995d5fbdc92da665596268\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/f423f41b7679c09abb26d2bd54be5cbef23c9446\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/fcf3f7e2fc8a53a6140beee46ec782a4c88e4744\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T03:21:49.042Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-35979\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-06-17T17:38:14.409469Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-06-17T17:38:15.563Z\"}}], \"cna\": {\"title\": \"raid1: fix use-after-free for original bio in raid1_write_request()\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.8, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:L - The bug is in the md/raid1 block driver and is reached only through local I/O submission \\u2014 a write to /dev/mdX (O_DIRECT/AIO/io_uring) or to a filesystem hosted on the array \\u2014 via md_submit_bio() \\u2192 md_handle_request() \\u2192 raid1_make_request() \\u2192 raid1_write_request(). No remote or network protocol reaches this code.\\nAC:L - Once any member rdev carries the Blocked/BlockedBadBlocks flag (set by raid1_error() on a failing member, by an unacknowledged bad block, or by a one-line sysfs write), every subsequent write to the array deterministically takes the blocked_rdev path and calls free_r1bio() on an r1bio whose bios[] entries still alias the caller\u0027s original bio \\u2014 no race must be won, and the upstream reproducer triggers it reliably on the first write batch.\\nPR:L - The freed object is the submitting task\u0027s own bio, and any unprivileged user who can write to a file on a raid1-backed filesystem (or to the array device) supplies the bio that gets prematurely bio_put()\u0027d; no capability is checked anywhere on md_submit_bio() \\u2192 raid1_write_request(), and the Blocked state is ordinary array state rather than a privilege the attacker must hold.\\nUI:N - The attacker\u0027s own write syscalls drive the entire path; no action by another user or administrator is needed at exploitation time.\\nS:U - The corruption is confined to kernel heap objects managed by the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed.\\nC:H - The original bio is returned to its bioset mempool and then kept in use as r1_bio-\u003emaster_bio: it is re-read by init_r1bio(), bio_split()/bio_chain(), and bio_alloc_clone(), which copies bi_bdev, bi_iter and the bi_io_vec pointer out of freed memory \\u2014 after reallocation with attacker-sprayed data this yields disk I/O into or out of attacker-chosen kernel memory, an arbitrary-read primitive.\\nI:H - md_wait_for_blocked_rdev() sleeps with the freed bio still referenced, giving an unbounded window to reclaim the slab object; the clones built from it write attacker-controlled vectors, and call_bio_endio() finally invokes bio-\u003ebi_end_io from freed memory, giving a function-pointer hijack plus a double-free when the original submitter completes the same bio.\\nA:H - This is a use-after-free/double-free on a mempool-backed slab object that KASAN/SLUB flags as \\\"Object already free\\\"; in practice it panics the kernel or corrupts the block layer\u0027s bio state, taking the storage stack and the machine down.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"992db13a4aee766c8bfbf046ad15c2db5fa7cab8\", \"lessThan\": \"3f28d49a328fe20926995d5fbdc92da665596268\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"992db13a4aee766c8bfbf046ad15c2db5fa7cab8\", \"lessThan\": \"f423f41b7679c09abb26d2bd54be5cbef23c9446\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"992db13a4aee766c8bfbf046ad15c2db5fa7cab8\", \"lessThan\": \"fcf3f7e2fc8a53a6140beee46ec782a4c88e4744\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/md/raid1.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6.6\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"6.6\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.6.28\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.8.7\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.8.*\"}, {\"status\": \"unaffected\", \"version\": \"6.9\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/md/raid1.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/3f28d49a328fe20926995d5fbdc92da665596268\"}, {\"url\": \"https://git.kernel.org/stable/c/f423f41b7679c09abb26d2bd54be5cbef23c9446\"}, {\"url\": \"https://git.kernel.org/stable/c/fcf3f7e2fc8a53a6140beee46ec782a4c88e4744\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nraid1: fix use-after-free for original bio in raid1_write_request()\\n\\nr1_bio-\u003ebios[] is used to record new bios that will be issued to\\nunderlying disks, however, in raid1_write_request(), r1_bio-\u003ebios[]\\nwill set to the original bio temporarily. Meanwhile, if blocked rdev\\nis set, free_r1bio() will be called causing that all r1_bio-\u003ebios[]\\nto be freed:\\n\\nraid1_write_request()\\n r1_bio = alloc_r1bio(mddev, bio); -\u003e r1_bio-\u003ebios[] is NULL\\n for (i = 0;  i \u003c disks; i++) -\u003e for each rdev in conf\\n  // first rdev is normal\\n  r1_bio-\u003ebios[0] = bio; -\u003e set to original bio\\n  // second rdev is blocked\\n  if (test_bit(Blocked, \u0026rdev-\u003eflags))\\n   break\\n\\n if (blocked_rdev)\\n  free_r1bio()\\n   put_all_bios()\\n    bio_put(r1_bio-\u003ebios[0]) -\u003e original bio is freed\\n\\nTest scripts:\\n\\nmdadm -CR /dev/md0 -l1 -n4 /dev/sd[abcd] --assume-clean\\nfio -filename=/dev/md0 -ioengine=libaio -rw=write -bs=4k -numjobs=1 \\\\\\n    -iodepth=128 -name=test -direct=1\\necho blocked \u003e /sys/block/md0/md/rd2/state\\n\\nTest result:\\n\\nBUG bio-264 (Not tainted): Object already free\\n-----------------------------------------------------------------------------\\n\\nAllocated in mempool_alloc_slab+0x24/0x50 age=1 cpu=1 pid=869\\n kmem_cache_alloc+0x324/0x480\\n mempool_alloc_slab+0x24/0x50\\n mempool_alloc+0x6e/0x220\\n bio_alloc_bioset+0x1af/0x4d0\\n blkdev_direct_IO+0x164/0x8a0\\n blkdev_write_iter+0x309/0x440\\n aio_write+0x139/0x2f0\\n io_submit_one+0x5ca/0xb70\\n __do_sys_io_submit+0x86/0x270\\n __x64_sys_io_submit+0x22/0x30\\n do_syscall_64+0xb1/0x210\\n entry_SYSCALL_64_after_hwframe+0x6c/0x74\\nFreed in mempool_free_slab+0x1f/0x30 age=1 cpu=1 pid=869\\n kmem_cache_free+0x28c/0x550\\n mempool_free_slab+0x1f/0x30\\n mempool_free+0x40/0x100\\n bio_free+0x59/0x80\\n bio_put+0xf0/0x220\\n free_r1bio+0x74/0xb0\\n raid1_make_request+0xadf/0x1150\\n md_handle_request+0xc7/0x3b0\\n md_submit_bio+0x76/0x130\\n __submit_bio+0xd8/0x1d0\\n submit_bio_noacct_nocheck+0x1eb/0x5c0\\n submit_bio_noacct+0x169/0xd40\\n submit_bio+0xee/0x1d0\\n blkdev_direct_IO+0x322/0x8a0\\n blkdev_write_iter+0x309/0x440\\n aio_write+0x139/0x2f0\\n\\nSince that bios for underlying disks are not allocated yet, fix this\\nproblem by using mempool_free() directly to free the r1_bio.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.28\", \"versionStartIncluding\": \"6.6\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.8.7\", \"versionStartIncluding\": \"6.6\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.9\", \"versionStartIncluding\": \"6.6\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T11:31:21.769Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-35979\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-05T11:31:21.769Z\", \"dateReserved\": \"2024-05-17T13:50:33.144Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-05-20T09:42:04.424Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…