media: v4l2-mem2mem: add lock to protect parameter num_rdy (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.12 % · percentile 2 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Analyzed
Description
In the Linux kernel, the following vulnerability has been resolved: media: v4l2-mem2mem: add lock to protect parameter num_rdy Getting below error when using KCSAN to check the driver. Adding lock to protect parameter num_rdy when getting the value with function: v4l2_m2m_num_src_bufs_ready/v4l2_m2m_num_dst_bufs_ready. kworker/u16:3: [name:report&]BUG: KCSAN: data-race in v4l2_m2m_buf_queue kworker/u16:3: [name:report&] kworker/u16:3: [name:report&]read-write to 0xffffff8105f35b94 of 1 bytes by task 20865 on cpu 7: kworker/u16:3:Â v4l2_m2m_buf_queue+0xd8/0x10c
Weaknesses (CWE)
- CWE-667 — Improper Locking
References
- https://git.kernel.org/stable/c/690dd4780b3f4d755e4e7883e8c3d1b5052f6bf2
- https://git.kernel.org/stable/c/7fc7f87725805197388ba749a1801df33000fa50
- https://git.kernel.org/stable/c/ef009fe2010ea2a3a7045ecb72729cf366e0967b
- https://git.kernel.org/stable/c/e52de26cb37459b16213438a2c82feb155dd3bbd
- https://git.kernel.org/stable/c/1676748aa29099fc0abd71e0fb092e76e835f25c
- https://git.kernel.org/stable/c/c71aa5f1cf961264690f2560503ea396b6e3c680
- https://git.kernel.org/stable/c/e01ea1c4191ee08440b5f86db98dff695e9cedf9
- https://git.kernel.org/stable/c/56b5c3e67b0f9af3f45cf393be048ee8d8a92694
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2025-32746
- GCVE · GCVE-0-2023-53519
CERT-FR advisories
- CERTFR-2025-AVI-1047 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1032 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1009 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0921 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0895 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 2.6.39 < 4.14.324cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.15 < 4.19.293cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.20 < 5.4.255cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.5 < 5.10.192cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.15.128cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 6.1.47cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.2 < 6.4.12
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 908a0d7c588ef87e5cf0a26805e6002a78ac9d13 < 690dd4780b3f4d755e4e7883e8c3d1b5052f6bf2 ; affected 908a0d7c588ef87e5cf0a26805e6002a78ac9d13 < 7fc7f87725805197388ba749a1801df33000fa50 ; affected 908a0d7c588ef87e5cf0a26805e6002a78ac9d13 < ef009fe2010ea2a3a7045ecb72729cf366e0967b ; affected 908a0d7c588ef87e5cf0a26805e6002a78ac9d13 < e52de26cb37459b16213438a2c82feb155dd3bbd ; affected 908a0d7c588ef87e5cf0a26805e6002a78ac9d13 < 1676748aa29099fc0abd71e0fb092e76e835f25c ; affected 908a0d7c588ef87e5cf0a26805e6002a78ac9d13 < c71aa5f1cf961264690f2560503ea396b6e3c680 |
| Linux · Linux | affected 2.6.39 ; unaffected 0 < 2.6.39 ; unaffected 4.14.324 ≤ 4.14.* ; unaffected 4.19.293 ≤ 4.19.* ; unaffected 5.4.255 ≤ 5.4.* ; unaffected 5.10.192 ≤ 5.10.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |