{"id":"CVE-2026-46282","summary":"iio: frequency: admv1013: fix NULL pointer dereference on str","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: frequency: admv1013: fix NULL pointer dereference on str\n\nWhen device_property_read_string() fails, str is left uninitialized\nbut the code falls through to strcmp(str, ...), dereferencing a garbage\npointer. Replace manual read/strcmp with\ndevice_property_match_property_string() and consolidate the SE mode\nenums into a single sequential enum, mapping to hardware register\nvalues via a switch consistent with other bitfields in the driver.\n\nSeveral cleanup patches have been applied to this driver recently so\nthis will need a manual backport.","modified":"2026-06-18T03:57:00.945612228Z","published":"2026-06-08T15:41:25.273Z","related":["openSUSE-SU-2026:11014-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46282.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2dc8d26690bf4e7226409563221c37bc095c94ff"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3a9d8ec2051c2d80158ed7bded5e158c42870037"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5e9f1bad26df3d3afb3cbbfa408b6d6e809708ac"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aac0a51b16700b403a55b67ba495de021db78763"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46282.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46282"},{"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":"da35a7b526d9b258a2cb8b7816f736a41b32176b"},{"fixed":"3a9d8ec2051c2d80158ed7bded5e158c42870037"},{"fixed":"5e9f1bad26df3d3afb3cbbfa408b6d6e809708ac"},{"fixed":"2dc8d26690bf4e7226409563221c37bc095c94ff"},{"fixed":"aac0a51b16700b403a55b67ba495de021db78763"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-46282.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.17.0"},{"fixed":"6.12.86"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.27"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-46282.json"}}],"schema_version":"1.7.5"}