iio: frequency: admv1013: fix NULL pointer dereference on str
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2dc8d26690bf4e7226409563221c37bc095c94ff, Kernel 3a9d8ec2051c2d80158ed7bded5e158c42870037, Kernel 5e9f1bad26df3d3afb3cbbfa408b6d6e809708ac and 2 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.17, >=da35a7b526d9b258a2cb8b7816f736a41b32176b <2dc8d26690bf4e7226409563221c37bc095c94ff, >=da35a7b526d9b258a2cb8b7816f736a41b32176b <3a9d8ec2051c2d80158ed7bded5e158c42870037, >=da35a7b526d9b258a2cb8b7816f736a41b32176b <5e9f1bad26df3d3afb3cbbfa408b6d6e809708ac, >=da35a7b526d9b258a2cb8b7816f736a41b32176b <aac0a51b16700b403a55b67ba495de021db78763, >=da35a7b526d9b258a2cb8b7816f736a41b32176b <ef8b71a0fc692f8cb7f124a8143b540446b1fe9d | 2dc8d26690bf4e7226409563221c37bc095c94ff, 3a9d8ec2051c2d80158ed7bded5e158c42870037, 5e9f1bad26df3d3afb3cbbfa408b6d6e809708ac, aac0a51b16700b403a55b67ba495de021db78763, ef8b71a0fc692f8cb7f124a8143b540446b1fe9d |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket