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-develUpgrade perf-debuginfoUpgrade kernel-livepatch-5.15.86-53.137Upgrade kernel-debuginfo-common-aarch64Upgrade perfUpgrade kernel-debuginfoUpgrade kernel-tools-develUpgrade kernel-livepatch-5.10.165-143.735Upgrade bpftoolUpgrade kernel-toolsUpgrade python-perfUpgrade kernel-livepatch-4.14.304-226.531Upgrade python-perf-debuginfoUpgrade bpftool-debuginfoUpgrade kernel-tools-debuginfoUpgrade kernel-debuginfo-common-x86_64Upgrade kernelUpgrade kernel-headers | May 20, 2026 | May 20, 2026 |
| Debian | — | Upgrade linux | Sep 17, 2025 | Sep 17, 2025 |
| Huawei Euleros 2_0_sp13 | — | Upgrade kernel-tools-libsUpgrade kernel-abi-stablelistsUpgrade kernel-toolsUpgrade python3-perfUpgrade kernelUpgrade bpftool | Feb 3, 2026 | Feb 2, 2026 |
| Redhat_linux | — | No solution exists | Jul 17, 2026 | Sep 15, 2025 |
| Ubuntu | — | Upgrade linux-fipsUpgrade linux-xilinx-zynqmpUpgrade linux-gcp-5.4Upgrade linux-kvmUpgrade linux-oracle-5.15Upgrade linux-azure-fipsUpgrade linux-nvidiaUpgrade linux-aws-fipsUpgrade linux-oracleUpgrade linux-oracle-5.4Upgrade linux-hwe-5.4Upgrade linux-realtimeUpgrade linux-intel-iotgUpgrade linux-gkeUpgrade linux-lowlatencyUpgrade linux-gcp-5.15Upgrade linux-gkeopUpgrade linux-ibmUpgrade linux-raspiUpgrade linux-azure-fde-5.15Upgrade linux-aws-5.15Upgrade linux-intel-iotg-5.15Upgrade linux-aws-hweUpgrade linux-azure-5.15Upgrade linux-aws-5.4Upgrade linux-intel-iot-realtimeUpgrade linux-gcpUpgrade linux-riscv-5.15Upgrade linux-awsUpgrade linux-gcp-4.15Upgrade linux-hweUpgrade linux-lowlatency-hwe-5.15Upgrade linux-azureUpgrade linux-ibm-5.4Upgrade linux-azure-5.4Upgrade linux-bluefieldUpgrade linuxUpgrade linux-raspi-5.4Upgrade linux-azure-4.15Upgrade linux-iotUpgrade linux-hwe-5.15Upgrade linux-nvidia-tegra-5.15Upgrade linux-gcp-fips | 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