CVE-2024-56769

media: dvb-frontends: dib3000mb: fix uninit-value in dib3000_write_reg

MEDIUM
5.5
CVSS Score
Published: January 6, 2025 at 04:20 PM UTC
Updated: June 17, 2026 at 08:12 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: media: dvb-frontends: dib3000mb: fix uninit-value in dib3000_write_reg Syzbot reports [1] an uninitialized value issue found by KMSAN in dib3000_read_reg(). Local u8 rb[2] is used in i2c_transfer() as a read buffer; in case that call fails, the buffer may end up with some undefined values. Since no elaborate error handling is expected in dib3000_write_reg(), simply zero out rb buffer to mitigate the problem. [1] Syzkaller report dvb-usb: bulk message failed: -22 (6/0) ===================================================== BUG: KMSAN: uninit-value in dib3000mb_attach+0x2d8/0x3c0 drivers/media/dvb-frontends/dib3000mb.c:758 dib3000mb_attach+0x2d8/0x3c0 drivers/media/dvb-frontends/dib3000mb.c:758 dibusb_dib3000mb_frontend_attach+0x155/0x2f0 drivers/media/usb/dvb-usb/dibusb-mb.c:31 dvb_usb_adapter_frontend_init+0xed/0x9a0 drivers/media/usb/dvb-usb/dvb-usb-dvb.c:290 dvb_usb_adapter_init drivers/media/usb/dvb-usb/dvb-usb-init.c:90 [inline] dvb_usb_init drivers/media/usb/dvb-usb/dvb-usb-init.c:186 [inline] dvb_usb_device_init+0x25a8/0x3760 drivers/media/usb/dvb-usb/dvb-usb-init.c:310 dibusb_probe+0x46/0x250 drivers/media/usb/dvb-usb/dibusb-mb.c:110 ... Local variable rb created at: dib3000_read_reg+0x86/0x4e0 drivers/media/dvb-frontends/dib3000mb.c:54 dib3000mb_attach+0x123/0x3c0 drivers/media/dvb-frontends/dib3000mb.c:758 ...

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.19 ≤ v < 5.10.2332.6.19 ≤ v < 5.15.1762.6.19 ≤ v < 5.4.2892.6.19 ≤ v < 6.1.1232.6.19 ≤ v < 6.12.82.6.19 ≤ v < 6.132.6.19 ≤ v < 6.6.696.2 ≤ v < 6.6.696.7 ≤ v < 6.12.86.13 rc16.13 rc26.13 rc374340b0a8bc60b400c7e5fe4950303aa6f914d16
Vendor states this is fixed in 035772fcd631eee2756b31cb6df249c0a8d453d7 (fixed)
Vendor states this is fixed in 1d6de21f00293d819b5ca6dbe75ff1f3b6392140 (fixed)
Vendor states this is fixed in 2dd59fe0e19e1ab955259978082b62e5751924c7 (fixed)
Vendor states this is fixed in 3876e3a1c31a58a352c6bf5d2a90e3304445a637 (fixed)
Vendor states this is fixed in 53106510736e734ce8b731ba871363389bfbf4c9 (fixed)
Vendor states this is fixed in c1197c1457bb7098cf46366e898eb52b41b6876a (fixed)
Vendor states this is fixed in e11778189513cd7fb2edced5bd053bc18ede8418 (fixed)
Vendor states this is fixed in 2.6.19 (unaffected)
Vendor states this is fixed in 5.10.233 (unaffected)
Vendor states this is fixed in 5.15.176 (unaffected)
Vendor states this is fixed in 5.4.289 (unaffected)
Vendor states this is fixed in 6.1.123 (unaffected)
Vendor states this is fixed in 6.12.8 (unaffected)
Vendor states this is fixed in 6.13 (unaffected)
Vendor states this is fixed in 6.6.69 (unaffected)

References (9)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-908

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card