Description
In the Linux kernel, the following vulnerability has been resolved:
gpiolib: cdev: Set lineevent_state::irq after IRQ register successfully
When running gpio test on nxp-ls1028 platform with below command
gpiomon --num-events=3 --rising-edge gpiochip1 25
There will be a warning trace as below:
Call trace:
free_irq+0x204/0x360
lineevent_free+0x64/0x70
gpio_ioctl+0x598/0x6a0
__arm64_sys_ioctl+0xb4/0x100
invoke_syscall+0x5c/0x130
......
el0t_64_sync+0x1a0/0x1a4
The reason of this issue is that calling request_threaded_irq()
function failed, and then lineevent_free() is invoked to release
the resource. Since the lineevent_state::irq was already set, so
the subsequent invocation of free_irq() would trigger the above
warning call trace. To fix this issue, set the lineevent_state::irq
after the IRQ register successfully.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 5.9 | 5.10.146 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 6.0.2-1 | — |
| Debian 13 | linux | 6.0.2-1 | — |
| Debian 12 | linux | 6.0.2-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | linux-raspi-realtime | No fix yet | — |
| Ubuntu 22.04 LTS | linux +1 | 5.15.0-57.63 | — |
| Ubuntu 22.04 LTS | linux-aws | 5.15.0-1027.31 | — |
| Ubuntu 22.04 LTS | linux-azure | 5.15.0-1030.37 | — |
| Ubuntu 22.04 LTS | linux-azure-fde | 5.15.0-1030.37.1 | — |
| Ubuntu 22.04 LTS | linux-gcp | 5.15.0-1026.33 | — |
| Ubuntu 22.04 LTS | linux-gke | 5.15.0-1024.29 | — |
| Ubuntu 22.04 LTS | linux-gkeop | 5.15.0-1012.16 | — |
| Ubuntu 22.04 LTS | linux-ibm | 5.15.0-1022.25 | — |
| Ubuntu 22.04 LTS | linux-intel-iotg | 5.15.0-1023.28 | — |
| Ubuntu 22.04 LTS | linux-kvm | 5.15.0-1025.30 | — |
| Ubuntu 22.04 LTS | linux-nvidia | 5.15.0-1015.15 | — |
| Ubuntu 22.04 LTS | linux-oracle | 5.15.0-1026.32 | — |
| Ubuntu 22.04 LTS | linux-raspi | 5.15.0-1022.24 | — |
| Ubuntu 22.04 LTS | linux-riscv +22 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-aws-5.15 +1 | 5.15.0-1027.31~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-azure-5.15 | 5.15.0-1030.37~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-azure-fde-5.15 | 5.15.0-1030.37~20.04.1.1 | — |
| Ubuntu 20.04 LTS | linux-gcp-5.15 | 5.15.0-1027.34~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-gke +26 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gkeop-5.15 | 5.15.0-1012.16~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-hwe-5.15 | 5.15.0-57.63~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-intel-iotg-5.15 | 5.15.0-1023.28~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-lowlatency-hwe-5.15 | 5.15.0-58.64~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-oracle-5.15 | 5.15.0-1027.33~20.04.1 | — |
| Ubuntu 18.04 LTS | linux-gcp +13 | No fix yet | — |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro Realtime 22.04 LTS | linux-realtime | 5.15.0-1029.32 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | kernel-64kb +5 | 5.14.21-150500.55.62.2 | SUSE-SU-2024:1659-1 |
| SLES 15 SP5 | kernel-azure +2 | 5.14.21-150500.33.51.1 | SUSE-SU-2024:1644-1 |
| SLES 15 SP5 | kernel-default-base | 5.14.21-150500.55.62.2.150500.6.27.2 | SUSE-SU-2024:1659-1 |
| SLES 15 SP5 | kernel-syms | 5.14.21-150500.55.62.1 | SUSE-SU-2024:1659-1 |
| SLES 15 SP4 | kernel-64kb +6 | 5.14.21-150400.24.119.1 | SUSE-SU-2024:1641-1 |
| SLES 15 SP4 | kernel-default-base | 5.14.21-150400.24.119.1.150400.24.56.1 | SUSE-SU-2024:1641-1 |
Show 10 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP4 | kernel-default-base | 5.14.21-150400.24.119.1.150400.24.56.1 | SUSE-SU-2024:1641-1 |
| SLES for SAP 15 SP4 | kernel-docs +4 | 5.14.21-150400.24.119.1 | SUSE-SU-2024:1641-1 |
| SLE Micro 5.5 | kernel-default | 5.14.21-150500.55.62.2 | SUSE-SU-2024:1659-1 |
| SLE Micro 5.5 | kernel-default-base | 5.14.21-150500.55.62.2.150500.6.27.2 | SUSE-SU-2024:1659-1 |
| SLE Micro 5.5 | kernel-rt +1 | 5.14.21-150500.13.52.1 | SUSE-SU-2024:1663-1 |
| SLE Micro 5.4 | kernel-default | 5.14.21-150400.24.119.1 | SUSE-SU-2024:1641-1 |
| SLE Micro 5.4 | kernel-default-base | 5.14.21-150400.24.119.1.150400.24.56.1 | SUSE-SU-2024:1641-1 |
| SLE Micro 5.4 | kernel-rt +1 | 5.14.21-150400.15.79.1 | SUSE-SU-2024:1647-1 |
| SLE Micro 5.3 | kernel-default | 5.14.21-150400.24.119.1 | SUSE-SU-2024:1641-1 |
| SLE Micro 5.3 | kernel-default-base | 5.14.21-150400.24.119.1.150400.24.56.1 | SUSE-SU-2024:1641-1 |
| SLE Micro 5.3 | kernel-rt +1 | 5.14.21-150400.15.79.1 | SUSE-SU-2024:1647-1 |
| SLE Live Patching 15 SP5 | kernel-default | 5.14.21-150500.55.62.2 | SUSE-SU-2024:1659-1 |
| SLE Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5-RT_Update_14 | 1-150500.11.5.1 | SUSE-SU-2024:1663-1 |
| SLE Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_13 | 1-150500.11.3.2 | SUSE-SU-2024:1659-1 |
| SLE Live Patching 15 SP4 | kernel-default | 5.14.21-150400.24.119.1 | SUSE-SU-2024:1641-1 |
| SLE Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_26 | 1-150400.9.3.1 | SUSE-SU-2024:1641-1 |
| SLE HPC 15 SP4 | kernel-64kb +5 | 5.14.21-150400.24.119.1 | SUSE-SU-2024:1641-1 |
| SLE HPC 15 SP4 | kernel-default-base | 5.14.21-150400.24.119.1.150400.24.56.1 | SUSE-SU-2024:1641-1 |
| SUSE Real Time Module 15 SP5 | kernel-rt +3 | 5.14.21-150500.13.52.1 | SUSE-SU-2024:1663-1 |
| SUSE Manager Server 4.3 | kernel-default-base | 5.14.21-150400.24.119.1.150400.24.56.1 | SUSE-SU-2024:1641-1 |
| SUSE Manager Server 4.3 | kernel-syms +3 | 5.14.21-150400.24.119.1 | SUSE-SU-2024:1641-1 |
| SUSE Manager Proxy 4.3 | kernel-default-base | 5.14.21-150400.24.119.1.150400.24.56.1 | SUSE-SU-2024:1641-1 |
| SUSE Manager Proxy 4.3 | kernel-syms +2 | 5.14.21-150400.24.119.1 | SUSE-SU-2024:1641-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.5 | dtb-aarch64 +2 | 5.14.21-150500.55.62.1 | SUSE-SU-2024:1659-1 |
| openSUSE Leap 15.5 | kernel-64kb +7 | 5.14.21-150500.55.62.2 | SUSE-SU-2024:1659-1 |
| openSUSE Leap 15.5 | kernel-azure +2 | 5.14.21-150500.33.51.1 | SUSE-SU-2024:1644-1 |
| openSUSE Leap 15.5 | kernel-default-base | 5.14.21-150500.55.62.2.150500.6.27.2 | SUSE-SU-2024:1659-1 |
| openSUSE Leap 15.5 | kernel-rt +3 | 5.14.21-150500.13.52.1 | SUSE-SU-2024:1663-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.4 | kernel-default | 5.14.21-150400.24.119.1 | SUSE-SU-2024:1641-1 |
| openSUSE Leap Micro 5.4 | kernel-default-base | 5.14.21-150400.24.119.1.150400.24.56.1 | SUSE-SU-2024:1641-1 |
| openSUSE Leap Micro 5.4 | kernel-rt | 5.14.21-150400.15.79.1 | SUSE-SU-2024:1647-1 |
| openSUSE Leap Micro 5.3 | kernel-default | 5.14.21-150400.24.119.1 | SUSE-SU-2024:1641-1 |
| openSUSE Leap Micro 5.3 | kernel-default-base | 5.14.21-150400.24.119.1.150400.24.56.1 | SUSE-SU-2024:1641-1 |
| openSUSE Leap Micro 5.3 | kernel-rt | 5.14.21-150400.15.79.1 | SUSE-SU-2024:1647-1 |
Advisories 6
- WID-SEC-2024-0984 Linux Kernel: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 13, 2026
- SUSE-SU-2024:1663-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1647-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1641-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1644-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2024:1659-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025