CVE-2022-49505
published high CVSS 3.1 · 7.8NFC: NULL out the dev->rfkill to prevent UAF
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxff169909eac9e00bf1aa0af739ba6ddfb1b1d135 to < a8e03bcad52dc9afabf650fdbad84f739cec9efa · 47244ac0b65bd74cc70007d8e1bac68bd2baad19 to < f81270125b50532624400063281e6611ecd61ddf · c45cea83e13699bdfd47842e04d09dd43af4c371 to < 6abfaca8711803d0d7cc8c0fac1070a88509d463 · 307d2e6cebfca9d92f86c8e2c8e3dd4a8be46ba6 to < fbf9c4c714d3cdeb98b6a18e4d057f931cad1d81 · 73a0d12114b4bc1a9def79a623264754b9df698e to < 2a1b5110c95e4d49c8c3906270dfcde680a5a7be · 8a9c61c3ef187d8891225f9b932390670a43a0d3 to < 1632be63862f183cd5cf1cc094e698e6ec005dfd · 3e3b5dfcd16a3e254aab61bd1e8c417dd4503102 to < 4a68938f43b7c2663e4c90bb9bbe29ac8b9a42a0 · 3e3b5dfcd16a3e254aab61bd1e8c417dd4503102 to < 4f5d71930f41be78557f9714393179025baacd65 · 3e3b5dfcd16a3e254aab61bd1e8c417dd4503102 to < 1b0e81416a24d6e9b8c2341e22e8bf48f8b8bfc9 · 5ef16d2d172ee56714cff37cd005b98aba08ef5a · 4.9.291 to < 4.9.318 · 4.14.256 to < 4.14.283 · 4.19.218 to < 4.19.247 · 5.4.162 to < 5.4.198 · 5.10.82 to < 5.10.121 · 5.15.5 to < 5.15.46 · 4.4.293 to < 4.5 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.16 (affected) · 0 to < 5.16 (unaffected · semver) · 4.9.318 through 4.9.* (unaffected · semver) · 4.14.283 through 4.14.* (unaffected · semver) · 4.19.247 through 4.19.* (unaffected · semver) · 5.4.198 through 5.4.* (unaffected · semver) · 5.10.121 through 5.10.* (unaffected · semver) · 5.15.46 through 5.15.* (unaffected · semver) · 5.17.14 through 5.17.* (unaffected · semver) · 5.18.3 through 5.18.* (unaffected · semver) · 5.19 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaults390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaults390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaults390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultaarch64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaults390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultx86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseaarch64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-bases390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-basex86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develaarch64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-devels390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develx86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgrafts390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftx86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-devels390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develx86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-mans390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-develnoarch | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-macrosnoarch | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-sourcenoarch | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsaarch64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symss390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsx86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_255-defaultppc64le | Advisory build | 1-8.5.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_255-defaults390x | Advisory build | 1-8.5.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_255-defaultx86_64 | Advisory build | 1-8.5.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultaarch64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaults390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-15-SP3 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | cluster-md-kmp-defaultppc64le | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | cluster-md-kmp-defaults390x | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | dlm-kmp-defaultaarch64 | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | dlm-kmp-defaultppc64le | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | dlm-kmp-defaults390x | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | dlm-kmp-defaultx86_64 | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | gfs2-kmp-defaultaarch64 | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | gfs2-kmp-defaultppc64le | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | gfs2-kmp-defaults390x | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | gfs2-kmp-defaultx86_64 | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-64kbaarch64 | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-64kb-develaarch64 | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-defaultaarch64 | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-defaultppc64le | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-defaults390x | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-defaultx86_64 | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-baseaarch64 | Advisory build | 5.3.18-150300.59.201.1.150300.18.120.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-baseppc64le | Advisory build | 5.3.18-150300.59.201.1.150300.18.120.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-bases390x | Advisory build | 5.3.18-150300.59.201.1.150300.18.120.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-basex86_64 | Advisory build | 5.3.18-150300.59.201.1.150300.18.120.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-develaarch64 | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-develppc64le | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-devels390x | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-develx86_64 | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatchppc64le | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatchs390x | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatchx86_64 | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatch-develppc64le | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatch-devels390x | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatch-develx86_64 | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-develnoarch | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-docsnoarch | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-livepatch-5_3_18-150300_59_201-defaultppc64le | Advisory build | 1-150300.7.3.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-livepatch-5_3_18-150300_59_201-defaults390x | Advisory build | 1-150300.7.3.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-livepatch-5_3_18-150300_59_201-defaultx86_64 | Advisory build | 1-150300.7.3.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-macrosnoarch | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-obs-buildaarch64 | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-obs-buildppc64le | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-obs-builds390x | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-obs-buildx86_64 | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-preemptaarch64 | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-preemptx86_64 | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-preempt-develaarch64 | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-preempt-develx86_64 | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-sourcenoarch | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-symsaarch64 | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-symsppc64le | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-symss390x | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-symsx86_64 | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-zfcpdumps390x | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | ocfs2-kmp-defaultaarch64 | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | ocfs2-kmp-defaultppc64le | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE / openSUSE | SLE-15-SP3 | ocfs2-kmp-defaults390x | Advisory build | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: NFC: NULL out the dev->rfkill to prevent UAF Commit 3e3b5dfcd16a ("NFC: reorder the logic in nfc_{un,}register_device") assumes the device_is_registered() in function nfc_dev_up() will help to check when the rfkill is unregistered. However, this check only take effect when device_del(&dev->dev) is done in nfc_unregister_device(). Hence, the rfkill object is still possible be dereferenced. The crash trace in latest kernel (5.18-rc2): [ 68.760105] ================================================================== [ 68.760330] BUG: KASAN: use-after-free in __lock_acquire+0x3ec1/0x6750 [ 68.760756] Read of size 8 at addr ffff888009c93018 by task fuzz/313 [ 68.760756] [ 68.760756] CPU: 0 PID: 313 Comm: fuzz Not tainted 5.18.0-rc2 #4 [ 68.760756] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 [ 68.760756] Call Trace: [ 68.760756] <TASK> [ 68.760756] dump_stack_lvl+0x57/0x7d [ 68.760756] print_report.cold+0x5e/0x5db [ 68.760756] ? __lock_acquire+0x3ec1/0x6750 [ 68.760756] kasan_report+0xbe/0x1c0 [ 68.760756] ? __lock_acquire+0x3ec1/0x6750 [ 68.760756] __lock_acquire+0x3ec1/0x6750 [ 68.760756] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 68.760756] ? register_lock_class+0x18d0/0x18d0 [ 68.760756] lock_acquire+0x1ac/0x4f0 [ 68.760756] ? rfkill_blocked+0xe/0x60 [ 68.760756] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 68.760756] ? mutex_lock_io_nested+0x12c0/0x12c0 [ 68.760756] ? nla_get_range_signed+0x540/0x540 [ 68.760756] ? _raw_spin_lock_irqsave+0x4e/0x50 [ 68.760756] _raw_spin_lock_irqsave+0x39/0x50 [ 68.760756] ? rfkill_blocked+0xe/0x60 [ 68.760756] rfkill_blocked+0xe/0x60 [ 68.760756] nfc_dev_up+0x84/0x260 [ 68.760756] nfc_genl_dev_up+0x90/0xe0 [ 68.760756] genl_family_rcv_msg_doit+0x1f4/0x2f0 [ 68.760756] ? genl_family_rcv_msg_attrs_parse.constprop.0+0x230/0x230 [ 68.760756] ? security_capable+0x51/0x90 [ 68.760756] genl_rcv_msg+0x280/0x500 [ 68.760756] ? genl_get_cmd+0x3c0/0x3c0 [ 68.760756] ? lock_acquire+0x1ac/0x4f0 [ 68.760756] ? nfc_genl_dev_down+0xe0/0xe0 [ 68.760756] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 68.760756] netlink_rcv_skb+0x11b/0x340 [ 68.760756] ? genl_get_cmd+0x3c0/0x3c0 [ 68.760756] ? netlink_ack+0x9c0/0x9c0 [ 68.760756] ? netlink_deliver_tap+0x136/0xb00 [ 68.760756] genl_rcv+0x1f/0x30 [ 68.760756] netlink_unicast+0x430/0x710 [ 68.760756] ? memset+0x20/0x40 [ 68.760756] ? netlink_attachskb+0x740/0x740 [ 68.760756] ? __build_skb_around+0x1f4/0x2a0 [ 68.760756] netlink_sendmsg+0x75d/0xc00 [ 68.760756] ? netlink_unicast+0x710/0x710 [ 68.760756] ? netlink_unicast+0x710/0x710 [ 68.760756] sock_sendmsg+0xdf/0x110 [ 68.760756] __sys_sendto+0x19e/0x270 [ 68.760756] ? __ia32_sys_getpeername+0xa0/0xa0 [ 68.760756] ? fd_install+0x178/0x4c0 [ 68.760756] ? fd_install+0x195/0x4c0 [ 68.760756] ? kernel_fpu_begin_mask+0x1c0/0x1c0 [ 68.760756] __x64_sys_sendto+0xd8/0x1b0 [ 68.760756] ? lockdep_hardirqs_on+0xbf/0x130 [ 68.760756] ? syscall_enter_from_user_mode+0x1d/0x50 [ 68.760756] do_syscall_64+0x3b/0x90 [ 68.760756] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 68.760756] RIP: 0033:0x7f67fb50e6b3 ... [ 68.760756] RSP: 002b:00007f67fa91fe90 EFLAGS: 00000293 ORIG_RAX: 000000000000002c [ 68.760756] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f67fb50e6b3 [ 68.760756] RDX: 000000000000001c RSI: 0000559354603090 RDI: 0000000000000003 [ 68.760756] RBP: 00007f67fa91ff00 R08: 00007f67fa91fedc R09: 000000000000000c [ 68.760756] R10: 0000000000000000 R11: 0000000000000293 R12: 00007ffe824d496e [ 68.760756] R13: 00007ffe824d496f R14: 00007f67fa120000 R15: 0000000000000003 [ 68.760756] </TASK> [ 68.760756] [ 68.760756] Allocated by task 279: [ 68.760756] kasan_save_stack+0x1e/0x40 [ ---truncated---
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The UAF is reached via local netlink (NFC_CMD_DEV_UP → nfc_genl_dev_up → nfc_dev_up) raced with local device teardown (TTY N_NCI close / nfc_unregister_device), not via NFC radio frames or remote packet processing. AC:L - The attacker controls both sides of the race—creating/destroying an NFC device (e.g. N_NCI on a PTY with nfcmrvl) while issuing concurrent NFC_CMD_DEV_UP—and the window between rfkill_destroy and device_del includes sleeping work (llcp unregister, timers), so the race is reliably repeatable. PR:L - Unprivileged users can attach N_NCI and register/unregister NFC devices with no capability check on the TTY path; NFC_CMD_DEV_UP uses GENL_ADMIN_PERM, but on NFC-enabled systems a management daemon performs DEV_UP, and when uncertain between PR:L and PR:H the higher-severity Low is chosen. UI:N - The attacker drives device create/teardown and DEV_UP (directly or via racing an always-on NFC service) without any separate victim action such as mounting a filesystem or opening a user file. S:U - Impact is host-kernel heap UAF within the same OS security authority; this is standard local privilege escalation, not a VM escape, IOMMU/DMA bypass, or sandbox boundary cross. C:H - rfkill_blocked() operates on a freed struct rfkill (spinlock/state); classic UAF reclaim/heap spray yields arbitrary kernel read primitives, scored Confidentiality High per UAF guidance. I:H - The same freed rfkill object can be reallocated and corrupted before rfkill_blocked() runs, enabling heap write and control-flow hijack primitives, scored Integrity High per UAF guidance. A:H - KASAN already demonstrates a use-after-free crash in rfkill_blocked/nfc_dev_up; even without full exploitation this produces a kernel oops/panic (Availability High).
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | ff169909eac9e00bf1aa0af739ba6ddfb1b1d135 to < a8e03bcad52dc9afabf650fdbad84f739cec9efa (affected · git)47244ac0b65bd74cc70007d8e1bac68bd2baad19 to < f81270125b50532624400063281e6611ecd61ddf (affected · git)c45cea83e13699bdfd47842e04d09dd43af4c371 to < 6abfaca8711803d0d7cc8c0fac1070a88509d463 (affected · git)307d2e6cebfca9d92f86c8e2c8e3dd4a8be46ba6 to < fbf9c4c714d3cdeb98b6a18e4d057f931cad1d81 (affected · git)73a0d12114b4bc1a9def79a623264754b9df698e to < 2a1b5110c95e4d49c8c3906270dfcde680a5a7be (affected · git)8a9c61c3ef187d8891225f9b932390670a43a0d3 to < 1632be63862f183cd5cf1cc094e698e6ec005dfd (affected · git)3e3b5dfcd16a3e254aab61bd1e8c417dd4503102 to < 4a68938f43b7c2663e4c90bb9bbe29ac8b9a42a0 (affected · git)3e3b5dfcd16a3e254aab61bd1e8c417dd4503102 to < 4f5d71930f41be78557f9714393179025baacd65 (affected · git)3e3b5dfcd16a3e254aab61bd1e8c417dd4503102 to < 1b0e81416a24d6e9b8c2341e22e8bf48f8b8bfc9 (affected · git)5ef16d2d172ee56714cff37cd005b98aba08ef5a (affected · git)4.9.291 to < 4.9.318 (affected · semver)4.14.256 to < 4.14.283 (affected · semver)4.19.218 to < 4.19.247 (affected · semver)5.4.162 to < 5.4.198 (affected · semver)5.10.82 to < 5.10.121 (affected · semver)5.15.5 to < 5.15.46 (affected · semver)4.4.293 to < 4.5 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 5.16 (affected)0 to < 5.16 (unaffected · semver)4.9.318 through 4.9.* (unaffected · semver)4.14.283 through 4.14.* (unaffected · semver)4.19.247 through 4.19.* (unaffected · semver)5.4.198 through 5.4.* (unaffected · semver)5.10.121 through 5.10.* (unaffected · semver)5.15.46 through 5.15.* (unaffected · semver)5.17.14 through 5.17.* (unaffected · semver)5.18.3 through 5.18.* (unaffected · semver)5.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
9- https://git.kernel.org/stable/c/1632be63862f183cd5cf1cc094e698e6ec005dfd
- https://git.kernel.org/stable/c/1b0e81416a24d6e9b8c2341e22e8bf48f8b8bfc9
- https://git.kernel.org/stable/c/2a1b5110c95e4d49c8c3906270dfcde680a5a7be
- https://git.kernel.org/stable/c/4a68938f43b7c2663e4c90bb9bbe29ac8b9a42a0
- https://git.kernel.org/stable/c/4f5d71930f41be78557f9714393179025baacd65
- https://git.kernel.org/stable/c/6abfaca8711803d0d7cc8c0fac1070a88509d463
- https://git.kernel.org/stable/c/a8e03bcad52dc9afabf650fdbad84f739cec9efa
- https://git.kernel.org/stable/c/f81270125b50532624400063281e6611ecd61ddf
- https://git.kernel.org/stable/c/fbf9c4c714d3cdeb98b6a18e4d057f931cad1d81
Provider assertions
2Linux · cna
NFC: NULL out the dev->rfkill to prevent UAF
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- eff243bf1df7482bd8068c78b9c9b11c95ce90c6e0ef5b1371b8558061b69091
- Ingested
- 23 Sep 2026, 08:04:12 UTC
- Source record
- Official CVE record