{"id":"CVE-2023-54314","summary":"media: af9005: Fix null-ptr-deref in af9005_i2c_xfer","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: af9005: Fix null-ptr-deref in af9005_i2c_xfer\n\nIn af9005_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 af9005_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-03-31T17:29:22.090404584Z","published":"2025-12-30T12:23:45.179Z","related":["SUSE-SU-2026:0278-1","SUSE-SU-2026:0281-1","SUSE-SU-2026:0293-1","SUSE-SU-2026:0315-1","SUSE-SU-2026:20477-1","SUSE-SU-2026:20498-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54314.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/033b0c0780adee32dde218179e9bc51d2525108f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0c02eb70b1dd4ae9bb304ce6cdadbc6faba2b2e9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/63d962ac7a52c0ff4cd09af2e284dce5e5955dfe"},{"type":"WEB","url":"https://git.kernel.org/stable/c/98c12abb275b75a98ff62de9466d21e4daa98536"},{"type":"WEB","url":"https://git.kernel.org/stable/c/abb6fd93e05e80668d2317fe1110bc99b05034c3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c7e5ac737db25d7387fe517cb5207706782b6cf8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e595ff350b2fd600823ee8491df7df693ae4b7c5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f4ee84f27625ce1fdf41e8483fa0561a1b837d10"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54314.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54314"},{"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":"af4e067e1dcf926d9523dff11e46c45fd9fa9da2"},{"fixed":"98c12abb275b75a98ff62de9466d21e4daa98536"},{"fixed":"63d962ac7a52c0ff4cd09af2e284dce5e5955dfe"},{"fixed":"0c02eb70b1dd4ae9bb304ce6cdadbc6faba2b2e9"},{"fixed":"c7e5ac737db25d7387fe517cb5207706782b6cf8"},{"fixed":"033b0c0780adee32dde218179e9bc51d2525108f"},{"fixed":"abb6fd93e05e80668d2317fe1110bc99b05034c3"},{"fixed":"e595ff350b2fd600823ee8491df7df693ae4b7c5"},{"fixed":"f4ee84f27625ce1fdf41e8483fa0561a1b837d10"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54314.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.23"},{"fixed":"4.14.326"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.19.295"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.257"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.197"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.133"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.55"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.5.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54314.json"}}],"schema_version":"1.7.5"}