CVE-2022-50272

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
15/09/2025
Last modified:
15/09/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> media: dvb-usb: az6027: fix null-ptr-deref in az6027_i2c_xfer()<br /> <br /> Wei Chen reports a kernel bug as blew:<br /> <br /> general protection fault, probably for non-canonical address<br /> KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017]<br /> ...<br /> Call Trace:<br /> <br /> __i2c_transfer+0x77e/0x1930 drivers/i2c/i2c-core-base.c:2109<br /> i2c_transfer+0x1d5/0x3d0 drivers/i2c/i2c-core-base.c:2170<br /> i2cdev_ioctl_rdwr+0x393/0x660 drivers/i2c/i2c-dev.c:297<br /> i2cdev_ioctl+0x75d/0x9f0 drivers/i2c/i2c-dev.c:458<br /> vfs_ioctl fs/ioctl.c:51 [inline]<br /> __do_sys_ioctl fs/ioctl.c:870 [inline]<br /> __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:856<br /> do_syscall_x64 arch/x86/entry/common.c:50 [inline]<br /> do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80<br /> entry_SYSCALL_64_after_hwframe+0x63/0xcd<br /> RIP: 0033:0x7fd834a8bded<br /> <br /> In az6027_i2c_xfer(), if msg[i].addr is 0x99,<br /> a null-ptr-deref will caused when accessing msg[i].buf.<br /> For msg[i].len is 0 and msg[i].buf is null.<br /> <br /> Fix this by checking msg[i].len in az6027_i2c_xfer().

Impact