media: az6007: Fix null-ptr-deref in az6007_i2c_xfer()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1047f9343011f2cedc73c64829686206a7e9fc3f, Kernel 5b1ea100ad3695025969dc4693f307877fb688d6, Kernel 6ab7ea4e17d6a605d05308adf8f3408924770cba and 5 more.
In the Linux kernel, the following vulnerability has been resolved: media: az6007: Fix null-ptr-deref in az6007_i2c_xfer() In az6007_i2c_xfer, msg is controlled by user. When msg[i].buf is null and msg[i].len is zero, former checks on msg[i].buf would be passed. Malicious data finally reach az6007_i2c_xfer. If accessing msg[i].buf[0] without sanity check, null ptr deref would happen. We add check on msg[i].len to prevent crash. Similar commit: commit 0ed554fd769a ("media: dvb-usb: az6027: fix null-ptr-deref in az6027_i2c_xfer()")
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =3.4, >=caa1a700ed2a06a831e6a7db5d9f213fc63caee3 <1047f9343011f2cedc73c64829686206a7e9fc3f, >=caa1a700ed2a06a831e6a7db5d9f213fc63caee3 <5b1ea100ad3695025969dc4693f307877fb688d6, >=caa1a700ed2a06a831e6a7db5d9f213fc63caee3 <6ab7ea4e17d6a605d05308adf8f3408924770cba, >=caa1a700ed2a06a831e6a7db5d9f213fc63caee3 <991c77fe18c6f374bbf83376f8c42550aa565662, >=caa1a700ed2a06a831e6a7db5d9f213fc63caee3 <a1110f19d4940e4185251d072cbb0ff51486a1e7, >=caa1a700ed2a06a831e6a7db5d9f213fc63caee3 <a9def3e9718a4dc756f48db147d42ec41a966240, >=caa1a700ed2a06a831e6a7db5d9f213fc63caee3 <adcb73f8ce9aec48b1f85223f401c1574015d8d2, >=caa1a700ed2a06a831e6a7db5d9f213fc63caee3 <c6763fefa267f6e62595a6ac1f57815d99fc90b7 | 1047f9343011f2cedc73c64829686206a7e9fc3f, 5b1ea100ad3695025969dc4693f307877fb688d6, 6ab7ea4e17d6a605d05308adf8f3408924770cba, 991c77fe18c6f374bbf83376f8c42550aa565662, a1110f19d4940e4185251d072cbb0ff51486a1e7, a9def3e9718a4dc756f48db147d42ec41a966240, adcb73f8ce9aec48b1f85223f401c1574015d8d2, c6763fefa267f6e62595a6ac1f57815d99fc90b7 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket