# CVE-2023-53519: media: v4l2-mem2mem: add lock to protect parameter num_rdy

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2025-10-01T11:46:06.419Z
- Modified: 2026-06-17T06:45:31.193Z
- Weaknesses: CWE-667
- Assigned by: Linux

## 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

(As written by CVE List.)

## Affected

- Linux Linux: from 908a0d7c588ef87e5cf0a26805e6002a78ac9d13 before 690dd4780b3f4d755e4e7883e8c3d1b5052f6bf2; from 908a0d7c588ef87e5cf0a26805e6002a78ac9d13 before 7fc7f87725805197388ba749a1801df33000fa50; from 908a0d7c588ef87e5cf0a26805e6002a78ac9d13 before ef009fe2010ea2a3a7045ecb72729cf366e0967b; from 908a0d7c588ef87e5cf0a26805e6002a78ac9d13 before e52de26cb37459b16213438a2c82feb155dd3bbd; from 908a0d7c588ef87e5cf0a26805e6002a78ac9d13 before 1676748aa29099fc0abd71e0fb092e76e835f25c; from 908a0d7c588ef87e5cf0a26805e6002a78ac9d13 before c71aa5f1cf961264690f2560503ea396b6e3c680; from 908a0d7c588ef87e5cf0a26805e6002a78ac9d13 before e01ea1c4191ee08440b5f86db98dff695e9cedf9; from 908a0d7c588ef87e5cf0a26805e6002a78ac9d13 before 56b5c3e67b0f9af3f45cf393be048ee8d8a92694; 2.6.39 (not affected: before 2.6.39; from 4.14.324 up to 4.14.*; from 4.19.293 up to 4.19.*; from 5.4.255 up to 5.4.*; from 5.10.192 up to 5.10.*; from 5.15.128 up to 5.15.*; from 6.1.47 up to 6.1.*; from 6.4.12 up to 6.4.*; from 6.5 up to *)
- linux linux_kernel: from 2.6.39 before 4.14.324; from 4.15 before 4.19.293; from 4.20 before 5.4.255; from 5.5 before 5.10.192; from 5.11 before 5.15.128; from 5.16 before 6.1.47; from 6.2 before 6.4.12

## References

- <https://git.kernel.org/stable/c/690dd4780b3f4d755e4e7883e8c3d1b5052f6bf2> (patch)
- <https://git.kernel.org/stable/c/7fc7f87725805197388ba749a1801df33000fa50> (patch)
- <https://git.kernel.org/stable/c/ef009fe2010ea2a3a7045ecb72729cf366e0967b> (patch)
- <https://git.kernel.org/stable/c/e52de26cb37459b16213438a2c82feb155dd3bbd> (patch)
- <https://git.kernel.org/stable/c/1676748aa29099fc0abd71e0fb092e76e835f25c> (patch)
- <https://git.kernel.org/stable/c/c71aa5f1cf961264690f2560503ea396b6e3c680> (patch)
- <https://git.kernel.org/stable/c/e01ea1c4191ee08440b5f86db98dff695e9cedf9> (patch)
- <https://git.kernel.org/stable/c/56b5c3e67b0f9af3f45cf393be048ee8d8a92694> (patch)

## Sources

- CVE List: [CVE-2023-53519](https://www.cve.org/CVERecord?id=CVE-2023-53519), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-53519](https://nvd.nist.gov/vuln/detail/CVE-2023-53519), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-53519 · Whole record: https://cve.day/CVE-2023-53519.json · Rebuilt by cve.day 2026-11-25T22:58:34.920Z
