CVE-2025-23150 (GCVE-0-2025-23150)
Vulnerability from cvelistv5
Published
2025-05-01 12:55
Modified
2026-08-05 11:57
Summary
In the Linux kernel, the following vulnerability has been resolved: ext4: fix off-by-one error in do_split Syzkaller detected a use-after-free issue in ext4_insert_dentry that was caused by out-of-bounds access due to incorrect splitting in do_split. BUG: KASAN: use-after-free in ext4_insert_dentry+0x36a/0x6d0 fs/ext4/namei.c:2109 Write of size 251 at addr ffff888074572f14 by task syz-executor335/5847 CPU: 0 UID: 0 PID: 5847 Comm: syz-executor335 Not tainted 6.12.0-rc6-syzkaller-00318-ga9cda7c0ffed #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Call Trace: <TASK> __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:377 [inline] print_report+0x169/0x550 mm/kasan/report.c:488 kasan_report+0x143/0x180 mm/kasan/report.c:601 kasan_check_range+0x282/0x290 mm/kasan/generic.c:189 __asan_memcpy+0x40/0x70 mm/kasan/shadow.c:106 ext4_insert_dentry+0x36a/0x6d0 fs/ext4/namei.c:2109 add_dirent_to_buf+0x3d9/0x750 fs/ext4/namei.c:2154 make_indexed_dir+0xf98/0x1600 fs/ext4/namei.c:2351 ext4_add_entry+0x222a/0x25d0 fs/ext4/namei.c:2455 ext4_add_nondir+0x8d/0x290 fs/ext4/namei.c:2796 ext4_symlink+0x920/0xb50 fs/ext4/namei.c:3431 vfs_symlink+0x137/0x2e0 fs/namei.c:4615 do_symlinkat+0x222/0x3a0 fs/namei.c:4641 __do_sys_symlink fs/namei.c:4662 [inline] __se_sys_symlink fs/namei.c:4660 [inline] __x64_sys_symlink+0x7a/0x90 fs/namei.c:4660 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f </TASK> The following loop is located right above 'if' statement. for (i = count-1; i >= 0; i--) { /* is more than half of this entry in 2nd half of the block? */ if (size + map[i].size/2 > blocksize/2) break; size += map[i].size; move++; } 'i' in this case could go down to -1, in which case sum of active entries wouldn't exceed half the block size, but previous behaviour would also do split in half if sum would exceed at the very last block, which in case of having too many long name files in a single block could lead to out-of-bounds access and following use-after-free. Found by Linux Verification Center (linuxtesting.org) with Syzkaller.
Impacted products
Vendor Product Version
Linux Linux Version: ea54176e5821936d109bb45dc2c19bd53559e735
Version: 5872331b3d91820e14716632ebb56b1399b34fe1
Version: 5872331b3d91820e14716632ebb56b1399b34fe1
Version: 5872331b3d91820e14716632ebb56b1399b34fe1
Version: 5872331b3d91820e14716632ebb56b1399b34fe1
Version: 5872331b3d91820e14716632ebb56b1399b34fe1
Version: 5872331b3d91820e14716632ebb56b1399b34fe1
Version: 5872331b3d91820e14716632ebb56b1399b34fe1
Version: 5872331b3d91820e14716632ebb56b1399b34fe1
Version: 059b1480105478c5f68cf664301545b8cad6a7cf
Version: 539ae3e03875dacaa9c388aff141ccbb4ef4ecb5
Version: fbbfd55a40d5d0806b59ee0403c75d5ac517533f
Version: b3ddf6ba5e28a57729fff1605ae08e21be5c92e3
Version: e50fe43e3062e18846e99d9646b9c07b097eb1ed
Version: 88e79f7a9841278fa8ff7ff6178bad12da002ffc
Version: 5.4.61   
Version: 4.4.234   
Version: 4.9.234   
Version: 4.14.195   
Version: 4.19.142   
Version: 5.7.18   
Version: 5.8.4   
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2025-11-03T19:42:46.918Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "url": "https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html"
          },
          {
            "url": "https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2025-23150",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-06-10T20:41:10.502771Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-06-11T18:44:09.529Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/ext4/namei.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b96bd2c3db26ad0daec5b78c85c098b53900e2e1",
              "status": "affected",
              "version": "ea54176e5821936d109bb45dc2c19bd53559e735",
              "versionType": "git"
            },
            {
              "lessThan": "515c34cff899eb5dae6aa7eee01c1295b07d81af",
              "status": "affected",
              "version": "5872331b3d91820e14716632ebb56b1399b34fe1",
              "versionType": "git"
            },
            {
              "lessThan": "2883e9e74f73f9265e5f8d1aaaa89034b308e433",
              "status": "affected",
              "version": "5872331b3d91820e14716632ebb56b1399b34fe1",
              "versionType": "git"
            },
            {
              "lessThan": "35d0aa6db9d93307085871ceab8a729594a98162",
              "status": "affected",
              "version": "5872331b3d91820e14716632ebb56b1399b34fe1",
              "versionType": "git"
            },
            {
              "lessThan": "2eeb1085bf7bd5c7ba796ca4119925fa5d336a3f",
              "status": "affected",
              "version": "5872331b3d91820e14716632ebb56b1399b34fe1",
              "versionType": "git"
            },
            {
              "lessThan": "16d9067f00e3a7d1df7c3aa9c20d214923d27e10",
              "status": "affected",
              "version": "5872331b3d91820e14716632ebb56b1399b34fe1",
              "versionType": "git"
            },
            {
              "lessThan": "17df39f455f1289319d4d09e4826aa46852ffd17",
              "status": "affected",
              "version": "5872331b3d91820e14716632ebb56b1399b34fe1",
              "versionType": "git"
            },
            {
              "lessThan": "ab0cc5c25552ae0d20eae94b40a93be11b080fc5",
              "status": "affected",
              "version": "5872331b3d91820e14716632ebb56b1399b34fe1",
              "versionType": "git"
            },
            {
              "lessThan": "94824ac9a8aaf2fb3c54b4bdde842db80ffa555d",
              "status": "affected",
              "version": "5872331b3d91820e14716632ebb56b1399b34fe1",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "059b1480105478c5f68cf664301545b8cad6a7cf",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "539ae3e03875dacaa9c388aff141ccbb4ef4ecb5",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "fbbfd55a40d5d0806b59ee0403c75d5ac517533f",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "b3ddf6ba5e28a57729fff1605ae08e21be5c92e3",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "e50fe43e3062e18846e99d9646b9c07b097eb1ed",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "88e79f7a9841278fa8ff7ff6178bad12da002ffc",
              "versionType": "git"
            },
            {
              "lessThan": "5.4.293",
              "status": "affected",
              "version": "5.4.61",
              "versionType": "semver"
            },
            {
              "lessThan": "4.5",
              "status": "affected",
              "version": "4.4.234",
              "versionType": "semver"
            },
            {
              "lessThan": "4.10",
              "status": "affected",
              "version": "4.9.234",
              "versionType": "semver"
            },
            {
              "lessThan": "4.15",
              "status": "affected",
              "version": "4.14.195",
              "versionType": "semver"
            },
            {
              "lessThan": "4.20",
              "status": "affected",
              "version": "4.19.142",
              "versionType": "semver"
            },
            {
              "lessThan": "5.8",
              "status": "affected",
              "version": "5.7.18",
              "versionType": "semver"
            },
            {
              "lessThan": "5.9",
              "status": "affected",
              "version": "5.8.4",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/ext4/namei.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.9"
            },
            {
              "lessThan": "5.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.293",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.237",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.181",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.135",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.88",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.24",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.13.*",
              "status": "unaffected",
              "version": "6.13.12",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.14.*",
              "status": "unaffected",
              "version": "6.14.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.15",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.293",
                  "versionStartIncluding": "5.4.61",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.237",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.181",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.135",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.88",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.24",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.13.12",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.14.3",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.15",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.4.234",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.9.234",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.14.195",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.19.142",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.7.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.8.4",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\next4: fix off-by-one error in do_split\n\nSyzkaller detected a use-after-free issue in ext4_insert_dentry that was\ncaused by out-of-bounds access due to incorrect splitting in do_split.\n\nBUG: KASAN: use-after-free in ext4_insert_dentry+0x36a/0x6d0 fs/ext4/namei.c:2109\nWrite of size 251 at addr ffff888074572f14 by task syz-executor335/5847\n\nCPU: 0 UID: 0 PID: 5847 Comm: syz-executor335 Not tainted 6.12.0-rc6-syzkaller-00318-ga9cda7c0ffed #0\nHardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024\nCall Trace:\n \u003cTASK\u003e\n __dump_stack lib/dump_stack.c:94 [inline]\n dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120\n print_address_description mm/kasan/report.c:377 [inline]\n print_report+0x169/0x550 mm/kasan/report.c:488\n kasan_report+0x143/0x180 mm/kasan/report.c:601\n kasan_check_range+0x282/0x290 mm/kasan/generic.c:189\n __asan_memcpy+0x40/0x70 mm/kasan/shadow.c:106\n ext4_insert_dentry+0x36a/0x6d0 fs/ext4/namei.c:2109\n add_dirent_to_buf+0x3d9/0x750 fs/ext4/namei.c:2154\n make_indexed_dir+0xf98/0x1600 fs/ext4/namei.c:2351\n ext4_add_entry+0x222a/0x25d0 fs/ext4/namei.c:2455\n ext4_add_nondir+0x8d/0x290 fs/ext4/namei.c:2796\n ext4_symlink+0x920/0xb50 fs/ext4/namei.c:3431\n vfs_symlink+0x137/0x2e0 fs/namei.c:4615\n do_symlinkat+0x222/0x3a0 fs/namei.c:4641\n __do_sys_symlink fs/namei.c:4662 [inline]\n __se_sys_symlink fs/namei.c:4660 [inline]\n __x64_sys_symlink+0x7a/0x90 fs/namei.c:4660\n do_syscall_x64 arch/x86/entry/common.c:52 [inline]\n do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\n \u003c/TASK\u003e\n\nThe following loop is located right above \u0027if\u0027 statement.\n\nfor (i = count-1; i \u003e= 0; i--) {\n\t/* is more than half of this entry in 2nd half of the block? */\n\tif (size + map[i].size/2 \u003e blocksize/2)\n\t\tbreak;\n\tsize += map[i].size;\n\tmove++;\n}\n\n\u0027i\u0027 in this case could go down to -1, in which case sum of active entries\nwouldn\u0027t exceed half the block size, but previous behaviour would also do\nsplit in half if sum would exceed at the very last block, which in case of\nhaving too many long name files in a single block could lead to\nout-of-bounds access and following use-after-free.\n\nFound by Linux Verification Center (linuxtesting.org) with Syzkaller."
        }
      ],
      "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 vulnerable path is reached purely through local filesystem syscalls (symlink, open(O_CREAT), mkdir, link, mknod, rename) via ext4_add_entry() on a locally mounted ext4 filesystem. No network protocol handling is involved.\nAC:L - The attacker fully controls every filename in the target directory, and therefore every dirent size, every hash, the sorted map ordering, the loop break index, and which split block receives the new entry; favorable layouts are cheaply brute-forced in fresh directories. The 1024-byte block size required is the mke2fs default for filesystems under 512 MB (embedded/IoT rootfs, SD cards, USB media, /boot, small images) and is directly attacker-chosen when the attacker supplies the medium.\nPR:L - Only an ordinary unprivileged local user is needed \u2014 write permission on any directory of the affected ext4 filesystem (e.g. /tmp, a home directory, or a mounted removable volume). No capabilities, no user namespace tricks, and no root are required.\nUI:N - The attacker performs all the file-creation operations themselves; no crafted or corrupted filesystem image needs to be mounted and no victim action of any kind is required.\nS:U - The out-of-bounds write corrupts kernel heap/page-cache memory within the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - The overflow writes attacker-controlled bytes into memory adjacent to the directory block, allowing forged ext4_dir_entry_2 records with attacker-chosen inode numbers that grant read access to arbitrary inodes on the filesystem regardless of permissions, and the resulting heap corruption is leverageable into an arbitrary-read primitive (KASAN reports it as a use-after-free).\nI:H - This is a linear heap out-of-bounds write of up to ~263 bytes whose contents are entirely attacker-supplied (the filename), landing either in adjacent page-cache directory data or past the folio into arbitrary kernel memory \u2014 a classic controlled-overflow primitive for arbitrary write and control-flow hijack, plus direct on-disk filesystem corruption.\nA:H - The bug is a KASAN-confirmed out-of-bounds/use-after-free write that reliably produces kernel oops/panic and persistent directory corruption requiring fsck, and it can be re-triggered at will by an unprivileged user."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:57:03.997Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b96bd2c3db26ad0daec5b78c85c098b53900e2e1"
        },
        {
          "url": "https://git.kernel.org/stable/c/515c34cff899eb5dae6aa7eee01c1295b07d81af"
        },
        {
          "url": "https://git.kernel.org/stable/c/2883e9e74f73f9265e5f8d1aaaa89034b308e433"
        },
        {
          "url": "https://git.kernel.org/stable/c/35d0aa6db9d93307085871ceab8a729594a98162"
        },
        {
          "url": "https://git.kernel.org/stable/c/2eeb1085bf7bd5c7ba796ca4119925fa5d336a3f"
        },
        {
          "url": "https://git.kernel.org/stable/c/16d9067f00e3a7d1df7c3aa9c20d214923d27e10"
        },
        {
          "url": "https://git.kernel.org/stable/c/17df39f455f1289319d4d09e4826aa46852ffd17"
        },
        {
          "url": "https://git.kernel.org/stable/c/ab0cc5c25552ae0d20eae94b40a93be11b080fc5"
        },
        {
          "url": "https://git.kernel.org/stable/c/94824ac9a8aaf2fb3c54b4bdde842db80ffa555d"
        }
      ],
      "title": "ext4: fix off-by-one error in do_split",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-23150",
    "datePublished": "2025-05-01T12:55:38.190Z",
    "dateReserved": "2025-01-11T14:28:41.513Z",
    "dateUpdated": "2026-08-05T11:57:03.997Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html\"}, {\"url\": \"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html\"}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2025-11-03T19:42:46.918Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2025-23150\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-06-10T20:41:10.502771Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-06-11T17:38:04.890Z\"}}], \"cna\": {\"title\": \"ext4: fix off-by-one error in do_split\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"ea54176e5821936d109bb45dc2c19bd53559e735\", \"lessThan\": \"b96bd2c3db26ad0daec5b78c85c098b53900e2e1\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5872331b3d91820e14716632ebb56b1399b34fe1\", \"lessThan\": \"515c34cff899eb5dae6aa7eee01c1295b07d81af\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5872331b3d91820e14716632ebb56b1399b34fe1\", \"lessThan\": \"2883e9e74f73f9265e5f8d1aaaa89034b308e433\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5872331b3d91820e14716632ebb56b1399b34fe1\", \"lessThan\": \"35d0aa6db9d93307085871ceab8a729594a98162\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5872331b3d91820e14716632ebb56b1399b34fe1\", \"lessThan\": \"2eeb1085bf7bd5c7ba796ca4119925fa5d336a3f\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5872331b3d91820e14716632ebb56b1399b34fe1\", \"lessThan\": \"16d9067f00e3a7d1df7c3aa9c20d214923d27e10\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5872331b3d91820e14716632ebb56b1399b34fe1\", \"lessThan\": \"17df39f455f1289319d4d09e4826aa46852ffd17\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5872331b3d91820e14716632ebb56b1399b34fe1\", \"lessThan\": \"ab0cc5c25552ae0d20eae94b40a93be11b080fc5\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5872331b3d91820e14716632ebb56b1399b34fe1\", \"lessThan\": \"94824ac9a8aaf2fb3c54b4bdde842db80ffa555d\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"059b1480105478c5f68cf664301545b8cad6a7cf\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"539ae3e03875dacaa9c388aff141ccbb4ef4ecb5\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"fbbfd55a40d5d0806b59ee0403c75d5ac517533f\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"b3ddf6ba5e28a57729fff1605ae08e21be5c92e3\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"e50fe43e3062e18846e99d9646b9c07b097eb1ed\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"88e79f7a9841278fa8ff7ff6178bad12da002ffc\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5.4.61\", \"lessThan\": \"5.4.293\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"4.4.234\", \"lessThan\": \"4.5\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"4.9.234\", \"lessThan\": \"4.10\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"4.14.195\", \"lessThan\": \"4.15\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"4.19.142\", \"lessThan\": \"4.20\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"5.7.18\", \"lessThan\": \"5.8\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"5.8.4\", \"lessThan\": \"5.9\", \"versionType\": \"semver\"}], \"programFiles\": [\"fs/ext4/namei.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.9\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.9\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.4.293\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.237\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.181\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.135\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.88\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.12.24\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.12.*\"}, {\"status\": \"unaffected\", \"version\": \"6.13.12\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.13.*\"}, {\"status\": \"unaffected\", \"version\": \"6.14.3\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.14.*\"}, {\"status\": \"unaffected\", \"version\": \"6.15\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"fs/ext4/namei.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/b96bd2c3db26ad0daec5b78c85c098b53900e2e1\"}, {\"url\": \"https://git.kernel.org/stable/c/515c34cff899eb5dae6aa7eee01c1295b07d81af\"}, {\"url\": \"https://git.kernel.org/stable/c/2883e9e74f73f9265e5f8d1aaaa89034b308e433\"}, {\"url\": \"https://git.kernel.org/stable/c/35d0aa6db9d93307085871ceab8a729594a98162\"}, {\"url\": \"https://git.kernel.org/stable/c/2eeb1085bf7bd5c7ba796ca4119925fa5d336a3f\"}, {\"url\": \"https://git.kernel.org/stable/c/16d9067f00e3a7d1df7c3aa9c20d214923d27e10\"}, {\"url\": \"https://git.kernel.org/stable/c/17df39f455f1289319d4d09e4826aa46852ffd17\"}, {\"url\": \"https://git.kernel.org/stable/c/ab0cc5c25552ae0d20eae94b40a93be11b080fc5\"}, {\"url\": \"https://git.kernel.org/stable/c/94824ac9a8aaf2fb3c54b4bdde842db80ffa555d\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\next4: fix off-by-one error in do_split\\n\\nSyzkaller detected a use-after-free issue in ext4_insert_dentry that was\\ncaused by out-of-bounds access due to incorrect splitting in do_split.\\n\\nBUG: KASAN: use-after-free in ext4_insert_dentry+0x36a/0x6d0 fs/ext4/namei.c:2109\\nWrite of size 251 at addr ffff888074572f14 by task syz-executor335/5847\\n\\nCPU: 0 UID: 0 PID: 5847 Comm: syz-executor335 Not tainted 6.12.0-rc6-syzkaller-00318-ga9cda7c0ffed #0\\nHardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024\\nCall Trace:\\n \u003cTASK\u003e\\n __dump_stack lib/dump_stack.c:94 [inline]\\n dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120\\n print_address_description mm/kasan/report.c:377 [inline]\\n print_report+0x169/0x550 mm/kasan/report.c:488\\n kasan_report+0x143/0x180 mm/kasan/report.c:601\\n kasan_check_range+0x282/0x290 mm/kasan/generic.c:189\\n __asan_memcpy+0x40/0x70 mm/kasan/shadow.c:106\\n ext4_insert_dentry+0x36a/0x6d0 fs/ext4/namei.c:2109\\n add_dirent_to_buf+0x3d9/0x750 fs/ext4/namei.c:2154\\n make_indexed_dir+0xf98/0x1600 fs/ext4/namei.c:2351\\n ext4_add_entry+0x222a/0x25d0 fs/ext4/namei.c:2455\\n ext4_add_nondir+0x8d/0x290 fs/ext4/namei.c:2796\\n ext4_symlink+0x920/0xb50 fs/ext4/namei.c:3431\\n vfs_symlink+0x137/0x2e0 fs/namei.c:4615\\n do_symlinkat+0x222/0x3a0 fs/namei.c:4641\\n __do_sys_symlink fs/namei.c:4662 [inline]\\n __se_sys_symlink fs/namei.c:4660 [inline]\\n __x64_sys_symlink+0x7a/0x90 fs/namei.c:4660\\n do_syscall_x64 arch/x86/entry/common.c:52 [inline]\\n do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83\\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\\n \u003c/TASK\u003e\\n\\nThe following loop is located right above \u0027if\u0027 statement.\\n\\nfor (i = count-1; i \u003e= 0; i--) {\\n\\t/* is more than half of this entry in 2nd half of the block? */\\n\\tif (size + map[i].size/2 \u003e blocksize/2)\\n\\t\\tbreak;\\n\\tsize += map[i].size;\\n\\tmove++;\\n}\\n\\n\u0027i\u0027 in this case could go down to -1, in which case sum of active entries\\nwouldn\u0027t exceed half the block size, but previous behaviour would also do\\nsplit in half if sum would exceed at the very last block, which in case of\\nhaving too many long name files in a single block could lead to\\nout-of-bounds access and following use-after-free.\\n\\nFound by Linux Verification Center (linuxtesting.org) with Syzkaller.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.4.293\", \"versionStartIncluding\": \"5.4.61\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.237\", \"versionStartIncluding\": \"5.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.181\", \"versionStartIncluding\": \"5.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.135\", \"versionStartIncluding\": \"5.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.88\", \"versionStartIncluding\": \"5.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.12.24\", \"versionStartIncluding\": \"5.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.13.12\", \"versionStartIncluding\": \"5.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.14.3\", \"versionStartIncluding\": \"5.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.15\", \"versionStartIncluding\": \"5.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionStartIncluding\": \"4.4.234\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionStartIncluding\": \"4.9.234\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionStartIncluding\": \"4.14.195\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionStartIncluding\": \"4.19.142\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionStartIncluding\": \"5.7.18\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionStartIncluding\": \"5.8.4\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-05-23T15:58:03.577Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2025-23150\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-06-11T18:44:09.529Z\", \"dateReserved\": \"2025-01-11T14:28:41.513Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2025-05-01T12:55:38.190Z\", \"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…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…