In the Linux kernel, the following vulnerability has been resolved:
chardev: fix error handling in cdev_device_add()
While doing fault injection test, I got the following report:
------------[ cut here ]------------ kobject: '(null)' (0000000039956980): is not initialized, yet kobject_put() is being called. WARNING: CPU: 3 PID: 6306 at kobject_put+0x23d/0x4e0 CPU: 3 PID: 6306 Comm: 283 Tainted: G W 6.1.0-rc2-00005-g307c1086d7c9 #1253 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.13.0-1ubuntu1.1 04/01/2014 RIP: 0010:kobject_put+0x23d/0x4e0 Call Trace: <TASK> cdev_device_add+0x15e/0x1b0 __iio_device_register+0x13b4/0x1af0 [industrialio] __devm_iio_device_register+0x22/0x90 [industrialio] max517_probe+0x3d8/0x6b4 [max517] i2c_device_probe+0xa81/0xc00
When device_add() is injected fault and returns error, if dev->devt is not set, cdev_add() is not called, cdev_del() is not needed. Fix this by checking dev->devt in error path.
CVSS Details
- CVSS 3.1 Base Score: 5.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon Linux Ami 2 | — | Upgrade kernel-debuginfo-common-x86_64Upgrade kernel-headersUpgrade kernelUpgrade kernel-tools-debuginfoUpgrade kernel-toolsUpgrade python-perfUpgrade python-perf-debuginfoUpgrade bpftoolUpgrade kernel-livepatch-4.14.304-226.531Upgrade bpftool-debuginfoUpgrade perf-debuginfoUpgrade kernel-tools-develUpgrade kernel-debuginfoUpgrade kernel-debuginfo-common-aarch64Upgrade perfUpgrade kernel-livepatch-5.10.165-143.735Upgrade kernel-livepatch-5.15.86-53.137Upgrade kernel-devel | May 20, 2026 | May 20, 2026 |
| Debian | — | Upgrade linux | Sep 17, 2025 | Sep 17, 2025 |
| Huawei Euleros 2_0_sp13 | — | Upgrade bpftoolUpgrade python3-perfUpgrade kernelUpgrade kernel-tools-libsUpgrade kernel-toolsUpgrade kernel-abi-stablelists | Feb 3, 2026 | Feb 2, 2026 |
| Redhat_linux | — | No solution exists | Jul 17, 2026 | Sep 15, 2025 |
| Ubuntu | — | Upgrade linux-azureUpgrade linux-azure-4.15Upgrade linux-gcp-4.15Upgrade linux-hwe-5.15Upgrade linuxUpgrade linux-lowlatency-hwe-5.15Upgrade linux-ibm-5.4Upgrade linux-hweUpgrade linux-iotUpgrade linux-azure-5.4Upgrade linux-raspi-5.4Upgrade linux-nvidia-tegra-5.15Upgrade linux-gcp-fipsUpgrade linux-bluefieldUpgrade linux-awsUpgrade linux-gcp-5.4Upgrade linux-realtimeUpgrade linux-xilinx-zynqmpUpgrade linux-hwe-5.4Upgrade linux-lowlatencyUpgrade linux-ibmUpgrade linux-azure-fde-5.15Upgrade linux-gkeUpgrade linux-aws-5.15Upgrade linux-gcp-5.15Upgrade linux-riscv-5.15Upgrade linux-azure-fipsUpgrade linux-oracle-5.4Upgrade linux-gkeopUpgrade linux-aws-5.4Upgrade linux-fipsUpgrade linux-raspiUpgrade linux-intel-iot-realtimeUpgrade linux-oracle-5.15Upgrade linux-kvmUpgrade linux-aws-hweUpgrade linux-nvidiaUpgrade linux-intel-iotgUpgrade linux-oracleUpgrade linux-intel-iotg-5.15Upgrade linux-azure-5.15Upgrade linux-aws-fipsUpgrade linux-gcp | Sep 19, 2025 | Sep 16, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Oct 15, 2025 | Sep 15, 2025 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub