CVE-2025-38214None▾ SunlitIn the Linux kernel, the following vulnerability has been resolved: fbdev: Fix fb_set_var to prevent null-ptr-deref in fb_videomode_to_var If fb_add_videomode() in fb_set_var() fails to allocate memory for fb_videomode, later it may le…
▾ Sunlit zone — Low / medium · no exploitation signal
impact 2.8 · likelihood 0 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Oct 15.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via CVEORG
Last analysed / modified upstream
0.2%
In the Linux kernel, the following vulnerability has been resolved:
fbdev: Fix fb_set_var to prevent null-ptr-deref in fb_videomode_to_var
If fb_add_videomode() in fb_set_var() fails to allocate memory for fb_videomode, later it may lead to a null-ptr dereference in fb_videomode_to_var(), as the fb_info is registered while not having the mode in modelist that is expected to be there, i.e. the one that is described in fb_info->var.
The reason is that fb_info->var is being modified in fb_set_var(), and then fb_videomode_to_var() is called. If it fails to add the mode to fb_info->modelist, fb_set_var() returns error, but does not restore the old value of fb_info->var. Restore fb_info->var on failure the same way it is done earlier in the function.
Found by Linux Verification Center (linuxtesting.org) with Syzkaller.
Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < ee20216f12d9482cd70e44dae5e7fabb38367c71Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < fab201d72fde38d081e2c5d4ad25595c535b7b22Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 1a10d91766eb6ddfd5414e4785611e33a4fe0f9bLinux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < ff0e037241173b574b385bff53d67567b9816db5Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 3ca78032a388a0795201792b36e6fc9b6e6e8eedLinux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < b3071bb463ea1e6c686d0dc9638fc940f2f5cf17Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 8a3a2887794b2c8e78b3e5d6e3de724527c9f41bLinux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 05f6e183879d9785a3cdf2f08a498bc31b7a20aaLinux 2.6.12Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
Connected by shared product, vendor, weakness, or advisory.
CVE-2026-99118Nonedrm/i915/dmc: Harden DMC firmware payload parsing
CVE-2026-99117Nonenet: bridge: mcast: don't truncate the port group walk on teardown
CVE-2026-99121Noneipv4: avoid divide by zero in fib_rebalance
CVE-2026-99120NoneKVM: x86/mmu: Cope with the SS bit being set in #NPF exit codes
CVE-2026-99119Nonedrm/amdgpu/userq: actually validate userq BOs
CVE-2026-99123Nonevsock/virtio: validate packet source for connected sockets