Vulnerability · Published Feb 1, 2023 · Assigned by mitre
CVE-2023-25012
Medium 4.6
In plain English
A medium-severity use-after-free in the linux package (Debian). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)4.6Medium
Exploit odds (30 days)0.8%top 43.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
The Linux kernel through 6.1.9 has a Use-After-Free in bigben_remove in drivers/hid/hid-bigbenff.c via a crafted USB device because the LED controllers remain registered for too long.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 6.1.20-1 | DEBIAN-CVE-2023-25012 |
| Debian:13 | linux | 6.1.20-1 | DEBIAN-CVE-2023-25012 |
| Debian:14 | linux | 6.1.20-1 | DEBIAN-CVE-2023-25012 |
| Ubuntu:22.04:LTS | linux | 5.15.0-75.82 | USN-6172-1 |
| Ubuntu:22.04:LTS | linux | 5.15.0-75.82 | UBUNTU-CVE-2023-25012 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1038.43 | UBUNTU-CVE-2023-25012 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1038.43 | USN-6172-1 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1040.47 | USN-6172-1 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1040.47 | UBUNTU-CVE-2023-25012 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2023-25012 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1041.48.1 | USN-6223-1 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1041.48.1 | UBUNTU-CVE-2023-25012 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2023-25012 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1036.44 | UBUNTU-CVE-2023-25012 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1036.44 | USN-6172-1 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1036.41 | USN-6172-1 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1036.41 | UBUNTU-CVE-2023-25012 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1022.27 | UBUNTU-CVE-2023-25012 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1022.27 | USN-6172-1 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | 5.19.0-45.46~22.04.1 | UBUNTU-CVE-2023-25012 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | 5.19.0-45.46~22.04.1 | USN-6171-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1032.35 | UBUNTU-CVE-2023-25012 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1032.35 | USN-6172-1 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1033.38 | USN-6207-1 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1033.38 | UBUNTU-CVE-2023-25012 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1035.40 | UBUNTU-CVE-2023-25012 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1035.40 | USN-6172-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-75.82 | USN-6172-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-75.82 | UBUNTU-CVE-2023-25012 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2023-25012 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1027.27 | UBUNTU-CVE-2023-25012 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1015.15 | UBUNTU-CVE-2023-25012 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2023-25012 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2023-25012 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | 6.1.0-1009.9 | USN-6033-1 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | 6.1.0-1009.9 | UBUNTU-CVE-2023-25012 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1037.43 | USN-6172-1 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1037.43 | UBUNTU-CVE-2023-25012 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1032.35 | USN-6172-1 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1032.35 | UBUNTU-CVE-2023-25012 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2023-25012 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2023-25012 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2023-25012 |
Affected products (as reported)
Weakness: CWE-416 · Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://seclists.org/oss-sec/2023/q1/53
- https://lore.kernel.org/all/20230125-hid-unregister-leds-v1-1-9a5192dcef16%40diag.uniroma1.it/
- [oss-security] 20230202 Re: Linux Kernel: hid: Use-After-Free in bigben_set_led() mailing-list
- [debian-lts-announce] 20230502 [SECURITY] [DLA 3404-1] linux-5.10 security update mailing-list
- [oss-security] 20231105 CVE-2023-1078: Linux: rds_rm_zerocopy_callback() bugs mailing-list
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=76ca8da989c7d97a7f76c75d475fe95a584439d7
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=27d2a2fd844ec7da70d19fabb482304fd1e0595b
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9fefb6201c4f8dd9f58c581b2a66e5cde2895ea2
- https://bugzilla.suse.com/show_bug.cgi?id=1207560