# CVE-2024-36928: s390/qeth: Fix kernel panic after setting hsuid

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 17, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-05-30T15:29:20.854Z
- **Modified:** 2026-08-05T11:32:07.195Z

## Who should check

- Anyone running Linux \>= 64e3affee2881bb22df7ce45dd1f1fd7990e382b, \< 8792b557eb50b986f2496156d486d0c7c85a1524; \>= 86818409f989fee29c38528ed8fb085655603356, \< 10cb803aff3b11fe0bd5f274fc1c231a43e88df6; \>= 1cfef80d4c2b2c599189f36f36320b205d9447d9, \< e28dd1e1bf3ebb52cdb877fb359e8978a51576e3; \>= 1cfef80d4c2b2c599189f36f36320b205d9447d9, \< eae0aec245712c52a3ce9c05575b541a9eef5282; \>= 1cfef80d4c2b2c599189f36f36320b205d9447d9, \< 8a2e4d37afb8500b276e5ee903dee06f50ab0494; c33d5a5c5b2c79326190885040f1643793c67b29; 29d6fe395087710280f8e11d4ae79569c4cb14b7; \>= 5.15.126, \< 5.15.159; \>= 6.1.45, \< 6.1.91; \>= 5.10.190, \< 5.11; …
- Anyone running Linux 6.5

## Description

In the Linux kernel, the following vulnerability has been resolved:

s390/qeth: Fix kernel panic after setting hsuid

Symptom:
When the hsuid attribute is set for the first time on an IQD Layer3
device while the corresponding network interface is already UP,
the kernel will try to execute a napi function pointer that is NULL.

Example:
---------------------------------------------------------------------------
\[ 2057.572696\] illegal operation: 0001 ilc:1 \[\#1\] SMP
\[ 2057.572702\] Modules linked in: af\_iucv qeth\_l3 zfcp scsi\_transport\_fc sunrpc nft\_fib\_inet nft\_fib\_ipv4 nft\_fib\_ipv6 nft\_fib nft\_reject\_inet nf\_reject\_ipv4 nf\_reject\_ipv6
nft\_reject nft\_ct nf\_tables\_set nft\_chain\_nat nf\_nat nf\_conntrack nf\_defrag\_ipv6 nf\_defrag\_ipv4 ip\_set nf\_tables libcrc32c nfnetlink ghash\_s390 prng xts aes\_s390 des\_s390 de
s\_generic sha3\_512\_s390 sha3\_256\_s390 sha512\_s390 vfio\_ccw vfio\_mdev mdev vfio\_iommu\_type1 eadm\_sch vfio ext4 mbcache jbd2 qeth\_l2 bridge stp llc dasd\_eckd\_mod qeth dasd\_mod
 qdio ccwgroup pkey zcrypt
\[ 2057.572739\] CPU: 6 PID: 60182 Comm: stress\_client Kdump: loaded Not tainted 4.18.0-541.el8.s390x \#1
\[ 2057.572742\] Hardware name: IBM 3931 A01 704 (LPAR)
\[ 2057.572744\] Krnl PSW : 0704f00180000000 0000000000000002 (0x2)
\[ 2057.572748\]            R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:3 CC:3 PM:0 RI:0 EA:3
\[ 2057.572751\] Krnl GPRS: 0000000000000004 0000000000000000 00000000a3b008d8 0000000000000000
\[ 2057.572754\]            00000000a3b008d8 cb923a29c779abc5 0000000000000000 00000000814cfd80
\[ 2057.572756\]            000000000000012c 0000000000000000 00000000a3b008d8 00000000a3b008d8
\[ 2057.572758\]            00000000bab6d500 00000000814cfd80 0000000091317e46 00000000814cfc68
\[ 2057.572762\] Krnl Code:\#0000000000000000: 0000                illegal
                         \>0000000000000002: 0000                illegal
                          0000000000000004: 0000                illegal
                          0000000000000006: 0000                illegal
                          0000000000000008: 0000                illegal
                          000000000000000a: 0000                illegal
                          000000000000000c: 0000                illegal
                          000000000000000e: 0000                illegal
\[ 2057.572800\] Call Trace:
\[ 2057.572801\] (\[\<00000000ec639700\>\] 0xec639700)
\[ 2057.572803\]  \[\<00000000913183e2\>\] net\_rx\_action+0x2ba/0x398
\[ 2057.572809\]  \[\<0000000091515f76\>\] \_\_do\_softirq+0x11e/0x3a0
\[ 2057.572813\]  \[\<0000000090ce160c\>\] do\_softirq\_own\_stack+0x3c/0x58
\[ 2057.572817\] (\[\<0000000090d2cbd6\>\] do\_softirq.part.1+0x56/0x60)
\[ 2057.572822\]  \[\<0000000090d2cc60\>\] \_\_local\_bh\_enable\_ip+0x80/0x98
\[ 2057.572825\]  \[\<0000000091314706\>\] \_\_dev\_queue\_xmit+0x2be/0xd70
\[ 2057.572827\]  \[\<000003ff803dd6d6\>\] afiucv\_hs\_send+0x24e/0x300 \[af\_iucv\]
\[ 2057.572830\]  \[\<000003ff803dd88a\>\] iucv\_send\_ctrl+0x102/0x138 \[af\_iucv\]
\[ 2057.572833\]  \[\<000003ff803de72a\>\] iucv\_sock\_connect+0x37a/0x468 \[af\_iucv\]
\[ 2057.572835\]  \[\<00000000912e7e90\>\] \_\_sys\_connect+0xa0/0xd8
\[ 2057.572839\]  \[\<00000000912e9580\>\] sys\_socketcall+0x228/0x348
\[ 2057.572841\]  \[\<0000000091514e1a\>\] system\_call+0x2a6/0x2c8
\[ 2057.572843\] Last Breaking-Event-Address:
\[ 2057.572844\]  \[\<0000000091317e44\>\] \_\_napi\_poll+0x4c/0x1d8
\[ 2057.572846\]
\[ 2057.572847\] Kernel panic - not syncing: Fatal exception in interrupt
-------------------------------------------------------------------------------------------

Analysis:
There is one napi structure per out\_q: card-\>qdio.out\_qs\[i\].napi
The napi.poll functions are set during qeth\_open().

Since
commit 1cfef80d4c2b ("s390/qeth: Don't call dev\_close/dev\_open (DOWN/UP)")
qeth\_set\_offline()/qeth\_set\_online() no longer call dev\_close()/
dev\_open(). So if qeth\_free\_qdio\_queues() cleared
card-\>qdio.out\_qs\[i\].napi.poll while the network interface was UP and the
card was offline, they are not set again.

Reproduction:
chzdev -e $devno layer2=0
ip link set dev $network\_interface up
echo 0 \> /sys/bus/ccw
---truncated---

## Affected and fixed versions

- Linux: \>= 64e3affee2881bb22df7ce45dd1f1fd7990e382b, \< 8792b557eb50b986f2496156d486d0c7c85a1524; \>= 86818409f989fee29c38528ed8fb085655603356, \< 10cb803aff3b11fe0bd5f274fc1c231a43e88df6; \>= 1cfef80d4c2b2c599189f36f36320b205d9447d9, \< e28dd1e1bf3ebb52cdb877fb359e8978a51576e3; \>= 1cfef80d4c2b2c599189f36f36320b205d9447d9, \< eae0aec245712c52a3ce9c05575b541a9eef5282; \>= 1cfef80d4c2b2c599189f36f36320b205d9447d9, \< 8a2e4d37afb8500b276e5ee903dee06f50ab0494; c33d5a5c5b2c79326190885040f1643793c67b29; 29d6fe395087710280f8e11d4ae79569c4cb14b7; \>= 5.15.126, \< 5.15.159; \>= 6.1.45, \< 6.1.91; \>= 5.10.190, \< 5.11; … (cvelist)
- Linux: 6.5 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-36928. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-36928.md
Affected: Linux >= 64e3affee2881bb22df7ce45dd1f1fd7990e382b, < 8792b557eb50b986f2496156d486d0c7c85a1524; >= 86818409f989fee29c38528ed8fb085655603356, < 10cb803aff3b11fe0bd5f274fc1c231a43e88df6; >= 1cfef80d4c2b2c599189f36f36320b205d9447d9, < e28dd1e1bf3ebb52cdb877fb359e8978a51576e3; >= 1cfef80d4c2b2c599189f36…
Fixed in: Linux 8792b557eb50b986f2496156d486d0c7c85a1524, Linux 10cb803aff3b11fe0bd5f274fc1c231a43e88df6, Linux 8a2e4d37afb8500b276e5ee903dee06f50ab0494, Linux 5.15.159, Linux 6.1.91, Linux 5.11

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-36928 being exploited?

There is no confirmed exploitation: CVE-2024-36928 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-36928?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-36928?

Linux \>= 64e3affee2881bb22df7ce45dd1f1fd7990e382b, \< 8792b557eb50b986f2496156d486d0c7c85a1524; \>= 86818409f989fee29c38528ed8fb085655603356, \< 10cb803aff3b11fe0bd5f274fc1c231a43e88df6; \>= 1cfef80d4c2b2c599189f36f36320b205d9447d9, \< e28dd1e1bf3ebb52cdb877fb359e8978a51576e3; \>= 1cfef80d4c2b2c599189f36f36320b205d9447d9, \< eae0aec245712c52a3ce9c05575b541a9eef5282; \>= 1cfef80d4c2b2c599189f36f36320b205d9447d9, \< 8a2e4d37afb8500b276e5ee903dee06f50ab0494; c33d5a5c5b2c79326190885040f1643793c67b29; 29d6fe395087710280f8e11d4ae79569c4cb14b7; \>= 5.15.126, \< 5.15.159; \>= 6.1.45, \< 6.1.91; \>= 5.10.190, \< 5.11; …; Linux 6.5.

### Is there a fix for CVE-2024-36928?

Yes. Fixed in Linux 8792b557eb50b986f2496156d486d0c7c85a1524, Linux 10cb803aff3b11fe0bd5f274fc1c231a43e88df6, Linux 8a2e4d37afb8500b276e5ee903dee06f50ab0494, Linux 5.15.159, Linux 6.1.91, Linux 5.11. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-36928?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/8792b557eb50b986f2496156d486d0c7c85a1524>
- patch: <https://git.kernel.org/stable/c/10cb803aff3b11fe0bd5f274fc1c231a43e88df6>
- patch: <https://git.kernel.org/stable/c/e28dd1e1bf3ebb52cdb877fb359e8978a51576e3>
- patch: <https://git.kernel.org/stable/c/eae0aec245712c52a3ce9c05575b541a9eef5282>
- patch: <https://git.kernel.org/stable/c/8a2e4d37afb8500b276e5ee903dee06f50ab0494>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-36928>

HTML: <https://flawdb.com/CVE-2024-36928> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-36928>
