fbdev: uvesafb: unregister connector callback on init failure
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.109, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: fbdev: uvesafb: unregister connector callback on init failure uvesafb_init() registers the v86d connector callback before registering the platform driver. If platform_driver_register() fails, the function returns the error directly and leaves the connector callback registered. The later platform-device failure path already unregisters the callback. Add the same cleanup before the final return when platform-driver registration fails. This issue was identified during our ongoing static-analysis research while reviewing kernel code.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 8bdb3a2d7df48b861972c4bfb58490853a228f51 · fixed in b149f77d04082a9da75944cdc488becb0e35258f; From 8bdb3a2d7df48b861972c4bfb58490853a228f51 · fixed in 0352fdac3cbf11e3b323322ff8cd95e20cbf5cd7; From 8bdb3a2d7df48b861972c4bfb58490853a228f51 · fixed in 17518e7123f7ef01b1155064dc01f2087583908e; From 8bdb3a2d7df48b861972c4bfb58490853a228f51 · fixed in 9eb7b3cbe99c9c0edbff69eb155c723e30983c22; From 8bdb3a2d7df48b861972c4bfb58490853a228f51 · fixed in 9f8a822b44c42502f105cf6574f4867067eecdd0; From 8bdb3a2d7df48b861972c4bfb58490853a228f51 · fixed in 466a8af0dee2cf745307155e26884e19a37b7e15; From 8bdb3a2d7df48b861972c4bfb58490853a228f51 · fixed in 9e768ae51426af2034d479133cfd73010d641b1a; From 8bdb3a2d7df48b861972c4bfb58490853a228f51 · fixed in de8db23aa7c337e606fca9faf48b3ba72968597a
- Linux Linux
2.6.24
- KernelLinux
From 2.6.24 · fixed in 5.10.270; From 5.11.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.109; From 6.13.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.4
References 8
git.kernel.org
- stable/c/b149f77d04082a9da75944cdc488becb0e35258f
- stable/c/0352fdac3cbf11e3b323322ff8cd95e20cbf5cd7
- stable/c/17518e7123f7ef01b1155064dc01f2087583908e
- stable/c/9eb7b3cbe99c9c0edbff69eb155c723e30983c22
- stable/c/9f8a822b44c42502f105cf6574f4867067eecdd0
- stable/c/466a8af0dee2cf745307155e26884e19a37b7e15
- stable/c/9e768ae51426af2034d479133cfd73010d641b1a
- stable/c/de8db23aa7c337e606fca9faf48b3ba72968597a