CVE-2022-48811
16.07.2024, 12:15
In the Linux kernel, the following vulnerability has been resolved: ibmvnic: don't release napi in __ibmvnic_open() If __ibmvnic_open() encounters an error such as when setting link state, it calls release_resources() which frees the napi structures needlessly. Instead, have __ibmvnic_open() only clean up the work it did so far (i.e. disable napi and irqs) and leave the rest to the callers. If caller of __ibmvnic_open() is ibmvnic_open(), it should release the resources immediately. If the caller is do_reset() or do_hard_reset(), they will release the resources on the next reset. This fixes following crash that occurred when running the drmgr command several times to add/remove a vnic interface: [102056] ibmvnic 30000003 env3: Disabling rx_scrq[6] irq [102056] ibmvnic 30000003 env3: Disabling rx_scrq[7] irq [102056] ibmvnic 30000003 env3: Replenished 8 pools Kernel attempted to read user page (10) - exploit attempt? (uid: 0) BUG: Kernel NULL pointer dereference on read at 0x00000010 Faulting instruction address: 0xc000000000a3c840 Oops: Kernel access of bad area, sig: 11 [#1] LE PAGE_SIZE=64K MMU=Radix SMP NR_CPUS=2048 NUMA pSeries ... CPU: 9 PID: 102056 Comm: kworker/9:2 Kdump: loaded Not tainted 5.16.0-rc5-autotest-g6441998e2e37 #1 Workqueue: events_long __ibmvnic_reset [ibmvnic] NIP: c000000000a3c840 LR: c0080000029b5378 CTR: c000000000a3c820 REGS: c0000000548e37e0 TRAP: 0300 Not tainted (5.16.0-rc5-autotest-g6441998e2e37) MSR: 8000000000009033 <SF,EE,ME,IR,DR,RI,LE> CR: 28248484 XER: 00000004 CFAR: c0080000029bdd24 DAR: 0000000000000010 DSISR: 40000000 IRQMASK: 0 GPR00: c0080000029b55d0 c0000000548e3a80 c0000000028f0200 0000000000000000 ... NIP [c000000000a3c840] napi_enable+0x20/0xc0 LR [c0080000029b5378] __ibmvnic_open+0xf0/0x430 [ibmvnic] Call Trace: [c0000000548e3a80] [0000000000000006] 0x6 (unreliable) [c0000000548e3ab0] [c0080000029b55d0] __ibmvnic_open+0x348/0x430 [ibmvnic] [c0000000548e3b40] [c0080000029bcc28] __ibmvnic_reset+0x500/0xdf0 [ibmvnic] [c0000000548e3c60] [c000000000176228] process_one_work+0x288/0x570 [c0000000548e3d00] [c000000000176588] worker_thread+0x78/0x660 [c0000000548e3da0] [c0000000001822f0] kthread+0x1c0/0x1d0 [c0000000548e3e10] [c00000000000cf64] ret_from_kernel_thread+0x5c/0x64 Instruction dump: 7d2948f8 792307e0 4e800020 60000000 3c4c01eb 384239e0 f821ffd1 39430010 38a0fff6 e92d1100 f9210028 39200000 <e9030010> f9010020 60420000 e9210020 ---[ end trace 5f8033b08fd27706 ]---Enginsight
| Vendor | Product | Version |
|---|---|---|
| linux | linux_kernel | 4.12 ≤ 𝑥 < 5.15.27 |
| linux | linux_kernel | 5.16 ≤ 𝑥 < 5.16.10 |
| linux | linux_kernel | 5.17:rc1 |
| linux | linux_kernel | 5.17:rc2 |
| linux | linux_kernel | 5.17:rc3 |
𝑥
= Vulnerable software versions
Debian Releases
Ubuntu Releases
Ubuntu Product | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| linux |
| ||||||||||||
| linux-allwinner-5.19 |
| ||||||||||||
| linux-aws |
| ||||||||||||
| linux-aws-5.0 |
| ||||||||||||
| linux-aws-5.11 |
| ||||||||||||
| linux-aws-5.13 |
| ||||||||||||
| linux-aws-5.15 |
| ||||||||||||
| linux-aws-5.19 |
| ||||||||||||
| linux-aws-5.3 |
| ||||||||||||
| linux-aws-5.4 |
| ||||||||||||
| linux-aws-5.8 |
| ||||||||||||
| linux-aws-6.2 |
| ||||||||||||
| linux-aws-6.5 |
| ||||||||||||
| linux-aws-fips |
| ||||||||||||
| linux-aws-hwe |
| ||||||||||||
| linux-azure |
| ||||||||||||
| linux-azure-4.15 |
| ||||||||||||
| linux-azure-5.11 |
| ||||||||||||
| linux-azure-5.13 |
| ||||||||||||
| linux-azure-5.15 |
| ||||||||||||
| linux-azure-5.19 |
| ||||||||||||
| linux-azure-5.3 |
| ||||||||||||
| linux-azure-5.4 |
| ||||||||||||
| linux-azure-5.8 |
| ||||||||||||
| linux-azure-6.2 |
| ||||||||||||
| linux-azure-6.5 |
| ||||||||||||
| linux-azure-edge |
| ||||||||||||
| linux-azure-fde |
| ||||||||||||
| linux-azure-fde-5.15 |
| ||||||||||||
| linux-azure-fde-5.19 |
| ||||||||||||
| linux-azure-fde-6.2 |
| ||||||||||||
| linux-azure-fips |
| ||||||||||||
| linux-bluefield |
| ||||||||||||
| linux-fips |
| ||||||||||||
| linux-gcp |
| ||||||||||||
| linux-gcp-4.15 |
| ||||||||||||
| linux-gcp-5.11 |
| ||||||||||||
| linux-gcp-5.13 |
| ||||||||||||
| linux-gcp-5.15 |
| ||||||||||||
| linux-gcp-5.19 |
| ||||||||||||
| linux-gcp-5.3 |
| ||||||||||||
| linux-gcp-5.4 |
| ||||||||||||
| linux-gcp-5.8 |
| ||||||||||||
| linux-gcp-6.2 |
| ||||||||||||
| linux-gcp-6.5 |
| ||||||||||||
| linux-gcp-fips |
| ||||||||||||
| linux-gke |
| ||||||||||||
| linux-gke-4.15 |
| ||||||||||||
| linux-gke-5.15 |
| ||||||||||||
| linux-gke-5.4 |
| ||||||||||||
| linux-gkeop |
| ||||||||||||
| linux-gkeop-5.15 |
| ||||||||||||
| linux-gkeop-5.4 |
| ||||||||||||
| linux-hwe |
| ||||||||||||
| linux-hwe-5.11 |
| ||||||||||||
| linux-hwe-5.13 |
| ||||||||||||
| linux-hwe-5.15 |
| ||||||||||||
| linux-hwe-5.19 |
| ||||||||||||
| linux-hwe-5.4 |
| ||||||||||||
| linux-hwe-5.8 |
| ||||||||||||
| linux-hwe-6.2 |
| ||||||||||||
| linux-hwe-6.5 |
| ||||||||||||
| linux-hwe-6.8 |
| ||||||||||||
| linux-hwe-edge |
| ||||||||||||
| linux-ibm |
| ||||||||||||
| linux-ibm-5.15 |
| ||||||||||||
| linux-ibm-5.4 |
| ||||||||||||
| linux-intel |
| ||||||||||||
| linux-intel-5.13 |
| ||||||||||||
| linux-intel-iot-realtime |
| ||||||||||||
| linux-intel-iotg |
| ||||||||||||
| linux-intel-iotg-5.15 |
| ||||||||||||
| linux-iot |
| ||||||||||||
| linux-kvm |
| ||||||||||||
| linux-lowlatency |
| ||||||||||||
| linux-lowlatency-hwe-5.15 |
| ||||||||||||
| linux-lowlatency-hwe-5.19 |
| ||||||||||||
| linux-lowlatency-hwe-6.2 |
| ||||||||||||
| linux-lowlatency-hwe-6.5 |
| ||||||||||||
| linux-lowlatency-hwe-6.8 |
| ||||||||||||
| linux-lts-xenial |
| ||||||||||||
| linux-nvidia |
| ||||||||||||
| linux-nvidia-6.2 |
| ||||||||||||
| linux-nvidia-6.5 |
| ||||||||||||
| linux-nvidia-6.8 |
| ||||||||||||
| linux-nvidia-lowlatency |
| ||||||||||||
| linux-oem |
| ||||||||||||
| linux-oem-5.10 |
| ||||||||||||
| linux-oem-5.13 |
| ||||||||||||
| linux-oem-5.14 |
| ||||||||||||
| linux-oem-5.17 |
| ||||||||||||
| linux-oem-5.6 |
| ||||||||||||
| linux-oem-6.0 |
| ||||||||||||
| linux-oem-6.1 |
| ||||||||||||
| linux-oem-6.5 |
| ||||||||||||
| linux-oem-6.8 |
| ||||||||||||
| linux-oracle |
| ||||||||||||
| linux-oracle-5.0 |
| ||||||||||||
| linux-oracle-5.11 |
| ||||||||||||
| linux-oracle-5.13 |
| ||||||||||||
| linux-oracle-5.15 |
| ||||||||||||
| linux-oracle-5.3 |
| ||||||||||||
| linux-oracle-5.4 |
| ||||||||||||
| linux-oracle-5.8 |
| ||||||||||||
| linux-oracle-6.5 |
| ||||||||||||
| linux-raspi |
| ||||||||||||
| linux-raspi-5.4 |
| ||||||||||||
| linux-raspi-realtime |
| ||||||||||||
| linux-raspi2 |
| ||||||||||||
| linux-realtime |
| ||||||||||||
| linux-riscv |
| ||||||||||||
| linux-riscv-5.11 |
| ||||||||||||
| linux-riscv-5.15 |
| ||||||||||||
| linux-riscv-5.19 |
| ||||||||||||
| linux-riscv-5.8 |
| ||||||||||||
| linux-riscv-6.5 |
| ||||||||||||
| linux-riscv-6.8 |
| ||||||||||||
| linux-starfive-5.19 |
| ||||||||||||
| linux-starfive-6.2 |
| ||||||||||||
| linux-starfive-6.5 |
| ||||||||||||
| linux-xilinx-zynqmp |
|
Common Weakness Enumeration
References