{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-139027 in the wild and no public exploit code.","exposure":"","fix":"Upgrade to a fixed version.","what":"CVE-2026-139027 is a vulnerability in Linux, published on 30 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-139027 and fix it if it is affected.\n\nWhat it is: CVE-2026-139027 is a vulnerability in Linux, published on 30 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-139027 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-139027/ (Markdown: https://insights.sbomify.com/CVE-2026-139027/index.md)","id":"CVE-2026-139027","markdown":"https://insights.sbomify.com/CVE-2026-139027/index.md","name":"CVE-2026-139027","record":{"aliases":["BELL-CVE-2026-139027","DEBIAN-CVE-2026-139027","GHSA-494w-45xj-949h","UBUNTU-CVE-2026-139027"],"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\nmedia: vivid: round the height down to the vertical subsampling factor\n\nsyzbot reports a vmalloc out-of-bounds write in the test pattern\ngenerator:\n\nBUG: KASAN: vmalloc-out-of-bounds in tpg_fill_plane_pattern drivers/media/common/v4l2-tpg/v4l2-tpg-core.c:2617 [inline]\nBUG: KASAN: vmalloc-out-of-bounds in tpg_fill_plane_buffer+0x2063/0x4160 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c:2705\nWrite of size 720 at addr ffffc900038f9d50 by task vivid-000-vid-c/6017\n\nThe reproducer requests a 720x49 NV12 capture format, i.e. an odd\nheight for a format whose chroma plane is vertically subsampled.\n\nThe buffer size is derived from the height by a truncating division:\n\n\tsizes[p] = (tpg_g_line_width(\u0026dev-\u003etpg, p) * h) /\n\t\t   dev-\u003efmt_cap-\u003evdownsampling[p] +\n\t\t   dev-\u003efmt_cap-\u003edata_offset[p];\n\nFor a single buffer holding both planes tpg_g_line_width() returns\n720 + 720 / 2 = 1080, so 1080 * 49 = 52920 bytes get allocated.\n\ntpg_fill_plane_buffer() however emits one chroma line for every two\nluma lines, i.e. DIV_ROUND_UP(49, 2) = 25 lines, and thus needs\n49 * 720 + 25 * 720 = 53280 bytes. The memcpy() of the last chroma\nline runs 360 bytes past the end of the buffer.\n\nAn odd height is not meaningful for a 4:2:0 format in the first place,\nsince the chroma plane would have to hold half a line. Rather than\nfixing up each of the ~10 sites that divide the height by\nvdownsampling[], round the height down to a multiple of the vertical\nsubsampling factor where it enters the driver. Adjusting the format is\nwhat TRY_FMT/S_FMT are for, and it keeps every later division exact.\n\nFormats without vertical subsampling are unaffected and keep accepting\nodd heights.\n\nTested with the syzbot reproducer, which no longer triggers the splat,\nand by streaming NV12, NV21, YUV420, YVU420 and YUYV at heights 47,\n48, 49, 51, 480, 481 and 1081. v4l2-compliance gives identical results\nbefore and after (48 of 50 succeeded on the vivid device in both\ncases; the two failures are pre-existing and unrelated).","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":"media: vivid: round the height down to the vertical subsampling factor","id":"CVE-2026-139027","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":8,"n_vendor_status":0,"next":{"headline":"power: supply: bq27xxx: Ensure poll work is cancelled on remove","id":"CVE-2026-139028"},"nickname":null,"packages":[],"prev":{"headline":"media: cx231xx: preserve I2C transfer length","id":"CVE-2026-139026"},"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-139027/"}