misc: bcm-vk: Use acquire/release for msgq_inited
- 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.15.221, 6.1.188, 6.6.157, 6.12.110, 6.18.52, and 1 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: misc: bcm-vk: Use acquire/release for msgq_inited bcm_vk_sync_msgq() fills the message queue information and then sets msgq_inited. Readers call bcm_vk_drv_access_ok() before accessing the message queues and their cached queue information. atomic_set()/atomic_read() do not order those accesses. A reader can see msgq_inited set while still seeing stale queue information. Use release when publishing the initialized queues and acquire when checking the gate. Keep the clear in bcm_vk_blk_drv_access() as atomic_set(). It closes the gate and does not publish queue state to readers.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 111d746bb4767ad476f80fe49067e3df3d9a9375 · fixed in bab66a9e30e39a06f3463b19f8c704386dfd5268; From 111d746bb4767ad476f80fe49067e3df3d9a9375 · fixed in 679cfada6868723ccf162ec3b78c7402ff2405bf; From 111d746bb4767ad476f80fe49067e3df3d9a9375 · fixed in f7a8f4cbc8cede0be55220367dc52b126e2d39e5; From 111d746bb4767ad476f80fe49067e3df3d9a9375 · fixed in 1df3926ed8771edf286ff753428b243f334e6041; From 111d746bb4767ad476f80fe49067e3df3d9a9375 · fixed in a45d6dd3c11e921882a2e74c7c8710b975f2eaa7; From 111d746bb4767ad476f80fe49067e3df3d9a9375 · fixed in 4984277bc43f84d7506346a09b29af138246d54a; From 111d746bb4767ad476f80fe49067e3df3d9a9375 · fixed in 61b101c6a150057b6d512421ed108aed16e822ea
- Linux Linux
5.12
- KernelLinux
From 5.12.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.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6
References 7
git.kernel.org
- stable/c/bab66a9e30e39a06f3463b19f8c704386dfd5268
- stable/c/679cfada6868723ccf162ec3b78c7402ff2405bf
- stable/c/f7a8f4cbc8cede0be55220367dc52b126e2d39e5
- stable/c/1df3926ed8771edf286ff753428b243f334e6041
- stable/c/a45d6dd3c11e921882a2e74c7c8710b975f2eaa7
- stable/c/4984277bc43f84d7506346a09b29af138246d54a
- stable/c/61b101c6a150057b6d512421ed108aed16e822ea