Skip to content
Not rated

CVE-2025-38694 media: dvb-frontends: dib7090p: fix null-ptr-deref in dib7090p_rw_on_apb()

Description

In the Linux kernel, the following vulnerability has been resolved: media: dvb-frontends: dib7090p: fix null-ptr-deref in dib7090p_rw_on_apb() In dib7090p_rw_on_apb, msg is controlled by user. When msg[0].buf is null and msg[0].len is zero, former checks on msg[0].buf would be passed. If accessing msg[0].buf[2] without sanity check, null pointer deref would happen. We add check on msg[0].len to prevent crash. Similar issue occurs when access msg[1].buf[0] and msg[1].buf[1]. Similar commit: commit 0ed554fd769a ("media: dvb-usb: az6027: fix null-ptr-deref in az6027_i2c_xfer()")

Affected products and versions

Product Affected versions Fixed in
Linux 6.17 earliest → < 6.17 6.17
Linux 6.16 earliest → < 6.16.2 6.16.2
Linux 6.15 earliest → < 6.15.11 6.15.11
Linux 6.12 earliest → < 6.12.43 6.12.43
Linux 6.6 earliest → < 6.6.103 6.6.103
Linux 6.1 earliest → < 6.1.149 6.1.149
Linux 5.15 earliest → < 5.15.190 5.15.190
Linux 5.10 earliest → < 5.10.241 5.10.241
Linux 5.4 earliest → < 5.4.297 5.4.297
Show the 2 other branches
Product Affected versions Fixed in
Linux 2.6.39 No fix stated
SIMATIC CN 4100 5.0 earliest → < 5.0 5.0

References

Timeline

  1. Published
  2. Last modified
The 18283 CVEs of Linux →
Track this CVE