{"id":"CVE-2023-52915","aliases":["CVE-2023-52915"],"related":[],"kind":"vulnerability","state":"published","title":"media: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer\n\nIn af9035_i2c_master_xfer, msg is controlled by user. When msg[i].buf\nis null and msg[i].len is zero, former checks on msg[i].buf would be\npassed. Malicious data finally reach af9035_i2c_master_xfer. If accessing\nmsg[i].buf[0] without sanity check, null ptr deref would happen.\nWe add check on msg[i].len to prevent crash.\n\nSimilar commit:\ncommit 0ed554fd769a\n(\"media: dvb-usb: az6027: fix null-ptr-deref in az6027_i2c_xfer()\")","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer\n\nIn af9035_i2c_master_xfer, msg is controlled by user. When msg[i].buf\nis null and msg[i].len is zero, former checks on msg[i].buf would be\npassed. Malicious data finally reach af9035_i2c_master_xfer. If accessing\nmsg[i].buf[0] without sanity check, null ptr deref would happen.\nWe add check on msg[i].len to prevent crash.\n\nSimilar commit:\ncommit 0ed554fd769a\n(\"media: dvb-usb: az6027: fix null-ptr-deref in az6027_i2c_xfer()\")","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: media: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer En af9035_i2c_master_xfer, msg está controlado por el usuario. Cuando msg[i].buf es nulo y msg[i].len es cero, se pasarían las comprobaciones anteriores en msg[i].buf. Los datos maliciosos finalmente llegan a af9035_i2c_master_xfer. Si se accede a msg[i].buf[0] sin una comprobación de cordura, se produciría una desreferencia nula de ptr. Agregamos una comprobación en msg[i].len para evitar un bloqueo. Commit similar: commit 0ed554fd769a (\"media: dvb-usb: az6027: fix null-ptr-deref in az6027_i2c_xfer()\")","source":"nvd"}],"published":"2024-09-06T09:07:49.695Z","modified":"2026-06-17T06:43:55.527Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273","fixed":"b2f54ed7739dfdf42c4df0a11131aad7c8635464","status":"affected"},{"type":"git","introduced":"7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273","fixed":"fa58d9db5cad4bb7bb694b6837e3b96d87554f2b","status":"affected"},{"type":"git","introduced":"7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273","fixed":"b49c6e5dd236787f13a062ec528d724169f11152","status":"affected"},{"type":"git","introduced":"7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273","fixed":"6c01ef65de0b321b2db1ef9abf8f1d15862b937e","status":"affected"},{"type":"git","introduced":"7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273","fixed":"d9ef84a7c222497ecb5fdf93361c76931804825e","status":"affected"},{"type":"git","introduced":"7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273","fixed":"0143f282b15f7cedc0392ea10050fb6000fd16e6","status":"affected"},{"type":"git","introduced":"7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273","fixed":"41b7181a40af84448a2b144fb02d8bf32b7e9a23","status":"affected"},{"type":"git","introduced":"7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273","fixed":"7bf744f2de0a848fb1d717f5831b03db96feae89","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.5","status":"unaffected"},{"type":"semver","introduced":"4.14.326","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.295","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.257","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.197","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.133","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.55","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.5.5","lastAffected":"6.5.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.6","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.14.326"},{"status":"affected","introduced":"4.15","fixed":"4.19.295"},{"status":"affected","introduced":"4.20","fixed":"5.4.257"},{"status":"affected","introduced":"5.5","fixed":"5.10.197"},{"status":"affected","introduced":"5.11","fixed":"5.15.133"},{"status":"affected","introduced":"5.16","fixed":"6.1.55"},{"status":"affected","introduced":"6.2","fixed":"6.5.5"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/b2f54ed7739dfdf42c4df0a11131aad7c8635464","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fa58d9db5cad4bb7bb694b6837e3b96d87554f2b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b49c6e5dd236787f13a062ec528d724169f11152","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6c01ef65de0b321b2db1ef9abf8f1d15862b937e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d9ef84a7c222497ecb5fdf93361c76931804825e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0143f282b15f7cedc0392ea10050fb6000fd16e6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/41b7181a40af84448a2b144fb02d8bf32b7e9a23","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7bf744f2de0a848fb1d717f5831b03db96feae89","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T00:39:49.807Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-52915","url":"https://www.cve.org/CVERecord?id=CVE-2023-52915","licence":"CVE Terms of Use","modified":"2026-05-11T19:35:33.678Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-52915","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52915","licence":"Public domain","modified":"2026-06-17T06:43:55.527Z"}],"updatedAt":"2026-11-25T22:58:34.299Z","epss":{"score":0.00211,"percentile":0.12056,"date":"2026-12-01T12:00:22.000Z"}}