CVE-2026-46282 PUBLISHED

iio: frequency: admv1013: fix NULL pointer dereference on str

Assigner: Linux
Reserved: 13.05.2026 Published: 08.06.2026 Updated: 14.06.2026

In the Linux kernel, the following vulnerability has been resolved:

iio: frequency: admv1013: fix NULL pointer dereference on str

When device_property_read_string() fails, str is left uninitialized but the code falls through to strcmp(str, ...), dereferencing a garbage pointer. Replace manual read/strcmp with device_property_match_property_string() and consolidate the SE mode enums into a single sequential enum, mapping to hardware register values via a switch consistent with other bitfields in the driver.

Several cleanup patches have been applied to this driver recently so this will need a manual backport.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from da35a7b526d9b258a2cb8b7816f736a41b32176b to 3a9d8ec2051c2d80158ed7bded5e158c42870037 (excl.)
  • affected from da35a7b526d9b258a2cb8b7816f736a41b32176b to 5e9f1bad26df3d3afb3cbbfa408b6d6e809708ac (excl.)
  • affected from da35a7b526d9b258a2cb8b7816f736a41b32176b to 2dc8d26690bf4e7226409563221c37bc095c94ff (excl.)
  • affected from da35a7b526d9b258a2cb8b7816f736a41b32176b to aac0a51b16700b403a55b67ba495de021db78763 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.17 is affected
  • unaffected from 0 to 5.17 (excl.)
  • unaffected from 6.12.86 to 6.12.* (incl.)
  • unaffected from 6.18.27 to 6.18.* (incl.)
  • unaffected from 7.0.4 to 7.0.* (incl.)
  • unaffected from 7.1 to * (incl.)

References