# CVE-2022-48954: s390/qeth: fix use-after-free in hsci

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

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; 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.44% (percentile 30, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-10-21T20:05:41.057Z
- **Modified:** 2026-08-05T08:53:06.606Z

## Who should check

- Anyone running Linux \>= f7936b7b2663c99a096a5c432ba96ab1e91a6c0f, \< db6343a5b0d9661f2dd76f653c6d274d38234d2b; \>= f7936b7b2663c99a096a5c432ba96ab1e91a6c0f, \< bde0dfc7c4569406a6ddeec363d04a1df7b3073f; \>= f7936b7b2663c99a096a5c432ba96ab1e91a6c0f, \< ebaaadc332cd21e9df4dcf9ce12552d9354bbbe4
- Anyone running Linux 5.15

## Description

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

s390/qeth: fix use-after-free in hsci

KASAN found that addr was dereferenced after br2dev\_event\_work was freed.

==================================================================
BUG: KASAN: use-after-free in qeth\_l2\_br2dev\_worker+0x5ba/0x6b0
Read of size 1 at addr 00000000fdcea440 by task kworker/u760:4/540
CPU: 17 PID: 540 Comm: kworker/u760:4 Tainted: G            E      6.1.0-20221128.rc7.git1.5aa3bed4ce83.300.fc36.s390x+kasan \#1
Hardware name: IBM 8561 T01 703 (LPAR)
Workqueue: 0.0.8000\_event qeth\_l2\_br2dev\_worker
Call Trace:
 \[\<000000016944d4ce\>\] dump\_stack\_lvl+0xc6/0xf8
 \[\<000000016942cd9c\>\] print\_address\_description.constprop.0+0x34/0x2a0
 \[\<000000016942d118\>\] print\_report+0x110/0x1f8
 \[\<0000000167a7bd04\>\] kasan\_report+0xfc/0x128
 \[\<000000016938d79a\>\] qeth\_l2\_br2dev\_worker+0x5ba/0x6b0
 \[\<00000001673edd1e\>\] process\_one\_work+0x76e/0x1128
 \[\<00000001673ee85c\>\] worker\_thread+0x184/0x1098
 \[\<000000016740718a\>\] kthread+0x26a/0x310
 \[\<00000001672c606a\>\] \_\_ret\_from\_fork+0x8a/0xe8
 \[\<00000001694711da\>\] ret\_from\_fork+0xa/0x40
Allocated by task 108338:
 kasan\_save\_stack+0x40/0x68
 kasan\_set\_track+0x36/0x48
 \_\_kasan\_kmalloc+0xa0/0xc0
 qeth\_l2\_switchdev\_event+0x25a/0x738
 atomic\_notifier\_call\_chain+0x9c/0xf8
 br\_switchdev\_fdb\_notify+0xf4/0x110
 fdb\_notify+0x122/0x180
 fdb\_add\_entry.constprop.0.isra.0+0x312/0x558
 br\_fdb\_add+0x59e/0x858
 rtnl\_fdb\_add+0x58a/0x928
 rtnetlink\_rcv\_msg+0x5f8/0x8d8
 netlink\_rcv\_skb+0x1f2/0x408
 netlink\_unicast+0x570/0x790
 netlink\_sendmsg+0x752/0xbe0
 sock\_sendmsg+0xca/0x110
 \_\_\_\_sys\_sendmsg+0x510/0x6a8
 \_\_\_sys\_sendmsg+0x12a/0x180
 \_\_sys\_sendmsg+0xe6/0x168
 \_\_do\_sys\_socketcall+0x3c8/0x468
 do\_syscall+0x22c/0x328
 \_\_do\_syscall+0x94/0xf0
 system\_call+0x82/0xb0
Freed by task 540:
 kasan\_save\_stack+0x40/0x68
 kasan\_set\_track+0x36/0x48
 kasan\_save\_free\_info+0x4c/0x68
 \_\_\_\_kasan\_slab\_free+0x14e/0x1a8
 \_\_kasan\_slab\_free+0x24/0x30
 \_\_kmem\_cache\_free+0x168/0x338
 qeth\_l2\_br2dev\_worker+0x154/0x6b0
 process\_one\_work+0x76e/0x1128
 worker\_thread+0x184/0x1098
 kthread+0x26a/0x310
 \_\_ret\_from\_fork+0x8a/0xe8
 ret\_from\_fork+0xa/0x40
Last potentially related work creation:
 kasan\_save\_stack+0x40/0x68
 \_\_kasan\_record\_aux\_stack+0xbe/0xd0
 insert\_work+0x56/0x2e8
 \_\_queue\_work+0x4ce/0xd10
 queue\_work\_on+0xf4/0x100
 qeth\_l2\_switchdev\_event+0x520/0x738
 atomic\_notifier\_call\_chain+0x9c/0xf8
 br\_switchdev\_fdb\_notify+0xf4/0x110
 fdb\_notify+0x122/0x180
 fdb\_add\_entry.constprop.0.isra.0+0x312/0x558
 br\_fdb\_add+0x59e/0x858
 rtnl\_fdb\_add+0x58a/0x928
 rtnetlink\_rcv\_msg+0x5f8/0x8d8
 netlink\_rcv\_skb+0x1f2/0x408
 netlink\_unicast+0x570/0x790
 netlink\_sendmsg+0x752/0xbe0
 sock\_sendmsg+0xca/0x110
 \_\_\_\_sys\_sendmsg+0x510/0x6a8
 \_\_\_sys\_sendmsg+0x12a/0x180
 \_\_sys\_sendmsg+0xe6/0x168
 \_\_do\_sys\_socketcall+0x3c8/0x468
 do\_syscall+0x22c/0x328
 \_\_do\_syscall+0x94/0xf0
 system\_call+0x82/0xb0
Second to last potentially related work creation:
 kasan\_save\_stack+0x40/0x68
 \_\_kasan\_record\_aux\_stack+0xbe/0xd0
 kvfree\_call\_rcu+0xb2/0x760
 kernfs\_unlink\_open\_file+0x348/0x430
 kernfs\_fop\_release+0xc2/0x320
 \_\_fput+0x1ae/0x768
 task\_work\_run+0x1bc/0x298
 exit\_to\_user\_mode\_prepare+0x1a0/0x1a8
 \_\_do\_syscall+0x94/0xf0
 system\_call+0x82/0xb0
The buggy address belongs to the object at 00000000fdcea400
 which belongs to the cache kmalloc-96 of size 96
The buggy address is located 64 bytes inside of
 96-byte region \[00000000fdcea400, 00000000fdcea460)
The buggy address belongs to the physical page:
page:000000005a9c26e8 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xfdcea
flags: 0x3ffff00000000200(slab\|node=0\|zone=1\|lastcpupid=0x1ffff)
raw: 3ffff00000000200 0000000000000000 0000000100000122 000000008008cc00
raw: 0000000000000000 0020004100000000 ffffffff00000001 0000000000000000
page dumped because: kasan: bad access detected
Memory state around the buggy address:
 00000000fdcea300: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc
 00000000fdcea380: fb fb fb fb fb fb f
---truncated---

## Affected and fixed versions

- Linux: \>= f7936b7b2663c99a096a5c432ba96ab1e91a6c0f, \< db6343a5b0d9661f2dd76f653c6d274d38234d2b; \>= f7936b7b2663c99a096a5c432ba96ab1e91a6c0f, \< bde0dfc7c4569406a6ddeec363d04a1df7b3073f; \>= f7936b7b2663c99a096a5c432ba96ab1e91a6c0f, \< ebaaadc332cd21e9df4dcf9ce12552d9354bbbe4 (cvelist)
- Linux: 5.15 (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-2022-48954. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-48954.md
Affected: Linux >= f7936b7b2663c99a096a5c432ba96ab1e91a6c0f, < db6343a5b0d9661f2dd76f653c6d274d38234d2b; >= f7936b7b2663c99a096a5c432ba96ab1e91a6c0f, < bde0dfc7c4569406a6ddeec363d04a1df7b3073f; >= f7936b7b2663c99a096a5c432ba96ab1e91a6c0f, < ebaaadc332cd21e9df4dcf9ce12552d9354bbbe4; Linux 5.15
Fixed in: no fixed version listed yet

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-2022-48954 being exploited?

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

### How serious is CVE-2022-48954?

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

### Which versions are affected by CVE-2022-48954?

Linux \>= f7936b7b2663c99a096a5c432ba96ab1e91a6c0f, \< db6343a5b0d9661f2dd76f653c6d274d38234d2b; \>= f7936b7b2663c99a096a5c432ba96ab1e91a6c0f, \< bde0dfc7c4569406a6ddeec363d04a1df7b3073f; \>= f7936b7b2663c99a096a5c432ba96ab1e91a6c0f, \< ebaaadc332cd21e9df4dcf9ce12552d9354bbbe4; Linux 5.15.

### Is there a fix for CVE-2022-48954?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-48954?

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/db6343a5b0d9661f2dd76f653c6d274d38234d2b>
- patch: <https://git.kernel.org/stable/c/bde0dfc7c4569406a6ddeec363d04a1df7b3073f>
- patch: <https://git.kernel.org/stable/c/ebaaadc332cd21e9df4dcf9ce12552d9354bbbe4>

## 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-2022-48954>

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