{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-139162 in the wild and no public exploit code.","exposure":"","fix":"Upgrade to a fixed version.","what":"CVE-2026-139162 is a vulnerability in Linux, published on 30 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-139162 and fix it if it is affected.\n\nWhat it is: CVE-2026-139162 is a vulnerability in Linux, published on 30 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-139162 in the wild and no public exploit code.\n\nAffected product: Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-139162/ (Markdown: https://insights.sbomify.com/CVE-2026-139162/index.md)","id":"CVE-2026-139162","markdown":"https://insights.sbomify.com/CVE-2026-139162/index.md","name":"CVE-2026-139162","record":{"aliases":["DEBIAN-CVE-2026-139162","GHSA-5p7x-49qj-pvj3","UBUNTU-CVE-2026-139162"],"analysis":null,"analysis_generated_by":null,"assigner":"Linux","component":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: handle partial allocation in attr_data_get_block_locked()\n\nWhen allocating clusters for a sparse or compressed attribute in\nattr_data_get_block_locked(), the requested virtual cluster number (vcn0)\nis aligned down to a frame boundary (vcn). The function then attempts to\nallocate a full frame of clusters.\n\nIf the disk is nearly full and highly fragmented, attr_allocate_clusters()\nmight only manage to allocate a small fragment and return success with a\npartial allocation length. If this partial allocation is so small that it\ndoes not even reach the originally requested vcn0 (i.e., end \u003c= vcn0), vcn0\nremains unallocated (a sparse hole).\n\nWhen the code subsequently calls run_lookup_entry() for vcn0, it finds the\noriginal SPARSE_LCN entry, which triggers a WARN_ON(1).\n\nFix this by adding a check to verify if the partial allocation reached\nvcn0. If it did not (vcn0 \u003e= end), treat this as an -ENOSPC failure and\njump to the undo1 label. This safely rolls back the partial allocation,\nrestores the original size, and repacks the runs, leaving the inode in a\nconsistent state before returning the error to the caller.\n\nWARNING: fs/ntfs3/attrib.c:1236 at attr_data_get_block_locked+0x1980/0x25d0\nfs/ntfs3/attrib.c:1236\nRIP: 0010:attr_data_get_block_locked+0x1980/0x25d0 fs/ntfs3/attrib.c:1236\nCall Trace:\n \u003cTASK\u003e\n attr_data_get_block+0x1f1/0x2a0 fs/ntfs3/attrib.c:979\n ntfs_fallocate+0xd3d/0xf70 fs/ntfs3/file.c:670\n vfs_fallocate+0x663/0x7f0 fs/open.c:338\n ksys_fallocate fs/open.c:362 [inline]\n __do_sys_fallocate fs/open.c:367 [inline]\n __se_sys_fallocate fs/open.c:365 [inline]\n __x64_sys_fallocate+0xbf/0x110 fs/open.c:365\n do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]\n do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\n \u003c/TASK\u003e","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"fs/ntfs3: handle partial allocation in attr_data_get_block_locked()","id":"CVE-2026-139162","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":null,"year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":null,"n_packages":0,"n_references":2,"n_vendor_status":0,"next":{"headline":"bpf: Keep stack arguments in arch_bpf_timed_may_goto()","id":"CVE-2026-139163"},"nickname":null,"packages":[],"prev":{"headline":"tls: keep TX and RX hardware offload on the same device","id":"CVE-2026-139161"},"products":["Linux"],"published":"2026-11-30","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-30","vendor_status":[],"vendors":["Linux"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-139162/"}