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