{"id":"CVE-2023-53220","summary":"media: az6007: Fix null-ptr-deref in az6007_i2c_xfer()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: az6007: Fix null-ptr-deref in az6007_i2c_xfer()\n\nIn az6007_i2c_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 az6007_i2c_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()\")","modified":"2026-04-02T09:43:48.923927Z","published":"2025-09-15T14:21:49.075Z","related":["SUSE-SU-2025:03600-1","SUSE-SU-2025:03626-1","SUSE-SU-2025:03634-1","SUSE-SU-2025:20851-1","SUSE-SU-2025:20861-1","SUSE-SU-2025:20870-1","SUSE-SU-2025:20898-1","SUSE-SU-2025:3751-1","SUSE-SU-2025:4057-1","SUSE-SU-2025:4132-1","SUSE-SU-2025:4141-1","openSUSE-SU-2025:15585-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53220.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1047f9343011f2cedc73c64829686206a7e9fc3f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5b1ea100ad3695025969dc4693f307877fb688d6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6ab7ea4e17d6a605d05308adf8f3408924770cba"},{"type":"WEB","url":"https://git.kernel.org/stable/c/991c77fe18c6f374bbf83376f8c42550aa565662"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a1110f19d4940e4185251d072cbb0ff51486a1e7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a9def3e9718a4dc756f48db147d42ec41a966240"},{"type":"WEB","url":"https://git.kernel.org/stable/c/adcb73f8ce9aec48b1f85223f401c1574015d8d2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c6763fefa267f6e62595a6ac1f57815d99fc90b7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53220.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53220"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"caa1a700ed2a06a831e6a7db5d9f213fc63caee3"},{"fixed":"c6763fefa267f6e62595a6ac1f57815d99fc90b7"},{"fixed":"adcb73f8ce9aec48b1f85223f401c1574015d8d2"},{"fixed":"991c77fe18c6f374bbf83376f8c42550aa565662"},{"fixed":"a9def3e9718a4dc756f48db147d42ec41a966240"},{"fixed":"5b1ea100ad3695025969dc4693f307877fb688d6"},{"fixed":"6ab7ea4e17d6a605d05308adf8f3408924770cba"},{"fixed":"a1110f19d4940e4185251d072cbb0ff51486a1e7"},{"fixed":"1047f9343011f2cedc73c64829686206a7e9fc3f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53220.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}