# CVE-2026-43413: scsi: hisi\_sas: Fix NULL pointer exception during user\_scan()

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.16% (percentile 3, 2026-11-28)
- **CWE:** CWE-476
- **Published:** 2026-05-08T14:21:50.923Z
- **Modified:** 2026-11-11T20:10:00.273Z

## Who should check

- Anyone running Linux \>= e21fe3a52692f554efd67957c772c702de627a3a, \< a0e952a99440258a6130ec4119ea4c62a8b4716b; \>= e21fe3a52692f554efd67957c772c702de627a3a, \< 70c78429ef383e35f9c58848994aeeac8083ae35; \>= e21fe3a52692f554efd67957c772c702de627a3a, \< 40119a21d9769bf8fdab5c93c6c878296e628abf; \>= e21fe3a52692f554efd67957c772c702de627a3a, \< 21a13db8d449b9c7eda4471da7f12417602dbbc7; \>= e21fe3a52692f554efd67957c772c702de627a3a, \< beadac156610a4f3bb15cb7bb4b07b6ac06f6567; \>= e21fe3a52692f554efd67957c772c702de627a3a, \< 8ddc0c26916574395447ebf4cff684314f6873a9
- Anyone running Linux 4.13

## Description

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

scsi: hisi\_sas: Fix NULL pointer exception during user\_scan()

user\_scan() invokes updated sas\_user\_scan() for channel 0, and if
successful, iteratively scans remaining channels (1 to shost-\>max\_channel)
via scsi\_scan\_host\_selected() in commit 37c4e72b0651 ("scsi: Fix
sas\_user\_scan() to handle wildcard and multi-channel scans"). However,
hisi\_sas supports only one channel, and the current value of max\_channel is
1. sas\_user\_scan() for channel 1 will trigger the following NULL pointer
exception:

\[  441.554662\] Unable to handle kernel NULL pointer dereference at virtual address 00000000000008b0
\[  441.554699\] Mem abort info:
\[  441.554710\]   ESR = 0x0000000096000004
\[  441.554718\]   EC = 0x25: DABT (current EL), IL = 32 bits
\[  441.554723\]   SET = 0, FnV = 0
\[  441.554726\]   EA = 0, S1PTW = 0
\[  441.554730\]   FSC = 0x04: level 0 translation fault
\[  441.554735\] Data abort info:
\[  441.554737\]   ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000
\[  441.554742\]   CM = 0, WnR = 0, TnD = 0, TagAccess = 0
\[  441.554747\]   GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
\[  441.554752\] user pgtable: 4k pages, 48-bit VAs, pgdp=00000828377a6000
\[  441.554757\] \[00000000000008b0\] pgd=0000000000000000, p4d=0000000000000000
\[  441.554769\] Internal error: Oops: 0000000096000004 \[\#1\]  SMP
\[  441.629589\] Modules linked in: arm\_spe\_pmu arm\_smmuv3\_pmu tpm\_tis\_spi hisi\_uncore\_sllc\_pmu hisi\_uncore\_pa\_pmu hisi\_uncore\_l3c\_pmu hisi\_uncore\_hha\_pmu hisi\_uncore\_ddrc\_pmu hisi\_uncore\_cpa\_pmu hns3\_pmu hisi\_ptt hisi\_pcie\_pmu tpm\_tis\_core spidev spi\_hisi\_sfc\_v3xx hisi\_uncore\_pmu spi\_dw\_mmio fuse hclge hclge\_common hisi\_sec2 hisi\_hpre hisi\_zip hisi\_qm hns3 hisi\_sas\_v3\_hw sm3\_ce sbsa\_gwdt hnae3 hisi\_sas\_main uacce hisi\_dma i2c\_hisi dm\_mirror dm\_region\_hash dm\_log dm\_mod
\[  441.670819\] CPU: 46 UID: 0 PID: 6994 Comm: bash Kdump: loaded Not tainted 7.0.0-rc2+ \#84 PREEMPT
\[  441.691327\] pstate: 81400009 (Nzcv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=--)
\[  441.698277\] pc : sas\_find\_dev\_by\_rphy+0x44/0x118
\[  441.702896\] lr : sas\_find\_dev\_by\_rphy+0x3c/0x118
\[  441.707502\] sp : ffff80009abbba40
\[  441.710805\] x29: ffff80009abbba40 x28: ffff082819a40008 x27: ffff082810c37c08
\[  441.717930\] x26: ffff082810c37c28 x25: ffff082819a40290 x24: ffff082810c37c00
\[  441.725054\] x23: 0000000000000000 x22: 0000000000000001 x21: ffff082819a40000
\[  441.732179\] x20: ffff082819a40290 x19: 0000000000000000 x18: 0000000000000020
\[  441.739304\] x17: 0000000000000000 x16: ffffb5dad6bda690 x15: 00000000ffffffff
\[  441.746428\] x14: ffff082814c3b26c x13: 00000000ffffffff x12: ffff082814c3b26a
\[  441.753553\] x11: 00000000000000c0 x10: 000000000000003a x9 : ffffb5dad5ea94f4
\[  441.760678\] x8 : 000000000000003a x7 : ffff80009abbbab0 x6 : 0000000000000030
\[  441.767802\] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000
\[  441.774926\] x2 : ffff08280f35a300 x1 : ffffb5dad7127180 x0 : 0000000000000000
\[  441.782053\] Call trace:
\[  441.784488\]  sas\_find\_dev\_by\_rphy+0x44/0x118 (P)
\[  441.789095\]  sas\_target\_alloc+0x24/0xb0
\[  441.792920\]  scsi\_alloc\_target+0x290/0x330
\[  441.797010\]  \_\_scsi\_scan\_target+0x88/0x258
\[  441.801096\]  scsi\_scan\_channel+0x74/0xb8
\[  441.805008\]  scsi\_scan\_host\_selected+0x170/0x188
\[  441.809615\]  sas\_user\_scan+0xfc/0x148
\[  441.813267\]  store\_scan+0x10c/0x180
\[  441.816743\]  dev\_attr\_store+0x20/0x40
\[  441.820398\]  sysfs\_kf\_write+0x84/0xa8
\[  441.824054\]  kernfs\_fop\_write\_iter+0x130/0x1c8
\[  441.828487\]  vfs\_write+0x2c0/0x370
\[  441.831880\]  ksys\_write+0x74/0x118
\[  441.835271\]  \_\_arm64\_sys\_write+0x24/0x38
\[  441.839182\]  invoke\_syscall+0x50/0x120
\[  441.842919\]  el0\_svc\_common.constprop.0+0xc8/0xf0
\[  441.847611\]  do\_el0\_svc+0x24/0x38
\[  441.850913\]  el0\_svc+0x38/0x158
\[  441.854043\]  el0t\_64\_sync\_handler+0xa0/0xe8
\[  441.858214\]  el0t\_64\_sync+0x1ac/0x1b0
\[  441.861865\] Code: aa1303e0 97ff70a8 34ffff80 d10a4273 (f9445a75)
\[  441.867946\] ---\[ end trace 0000000000000000 \]---

Therefore
---truncated---

## Affected and fixed versions

- Linux: \>= e21fe3a52692f554efd67957c772c702de627a3a, \< a0e952a99440258a6130ec4119ea4c62a8b4716b; \>= e21fe3a52692f554efd67957c772c702de627a3a, \< 70c78429ef383e35f9c58848994aeeac8083ae35; \>= e21fe3a52692f554efd67957c772c702de627a3a, \< 40119a21d9769bf8fdab5c93c6c878296e628abf; \>= e21fe3a52692f554efd67957c772c702de627a3a, \< 21a13db8d449b9c7eda4471da7f12417602dbbc7; \>= e21fe3a52692f554efd67957c772c702de627a3a, \< beadac156610a4f3bb15cb7bb4b07b6ac06f6567; \>= e21fe3a52692f554efd67957c772c702de627a3a, \< 8ddc0c26916574395447ebf4cff684314f6873a9 (cvelist)
- Linux: 4.13 (cvelist)

## Mitigation

- Upgrade Linux to 8ddc0c26916574395447ebf4cff684314f6873a9 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-43413.md
Affected: Linux >= e21fe3a52692f554efd67957c772c702de627a3a, < a0e952a99440258a6130ec4119ea4c62a8b4716b; >= e21fe3a52692f554efd67957c772c702de627a3a, < 70c78429ef383e35f9c58848994aeeac8083ae35; >= e21fe3a52692f554efd67957c772c702de627a3a, < 40119a21d9769bf8fdab5c93c6c878296e628abf; >= e21fe3a52692f554efd6795…
Fixed in: Linux 70c78429ef383e35f9c58848994aeeac8083ae35, Linux 40119a21d9769bf8fdab5c93c6c878296e628abf, Linux 21a13db8d449b9c7eda4471da7f12417602dbbc7, Linux 8ddc0c26916574395447ebf4cff684314f6873a9

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-2026-43413 being exploited?

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

### How serious is CVE-2026-43413?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-43413?

Linux \>= e21fe3a52692f554efd67957c772c702de627a3a, \< a0e952a99440258a6130ec4119ea4c62a8b4716b; \>= e21fe3a52692f554efd67957c772c702de627a3a, \< 70c78429ef383e35f9c58848994aeeac8083ae35; \>= e21fe3a52692f554efd67957c772c702de627a3a, \< 40119a21d9769bf8fdab5c93c6c878296e628abf; \>= e21fe3a52692f554efd67957c772c702de627a3a, \< 21a13db8d449b9c7eda4471da7f12417602dbbc7; \>= e21fe3a52692f554efd67957c772c702de627a3a, \< beadac156610a4f3bb15cb7bb4b07b6ac06f6567; \>= e21fe3a52692f554efd67957c772c702de627a3a, \< 8ddc0c26916574395447ebf4cff684314f6873a9; Linux 4.13.

### Is there a fix for CVE-2026-43413?

Yes. Fixed in Linux 70c78429ef383e35f9c58848994aeeac8083ae35, Linux 40119a21d9769bf8fdab5c93c6c878296e628abf, Linux 21a13db8d449b9c7eda4471da7f12417602dbbc7, Linux 8ddc0c26916574395447ebf4cff684314f6873a9. Upgrade Linux to 8ddc0c26916574395447ebf4cff684314f6873a9 or later.

### How do I check if I'm affected by CVE-2026-43413?

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/70c78429ef383e35f9c58848994aeeac8083ae35>
- patch: <https://git.kernel.org/stable/c/40119a21d9769bf8fdab5c93c6c878296e628abf>
- patch: <https://git.kernel.org/stable/c/21a13db8d449b9c7eda4471da7f12417602dbbc7>
- patch: <https://git.kernel.org/stable/c/beadac156610a4f3bb15cb7bb4b07b6ac06f6567>
- patch: <https://git.kernel.org/stable/c/8ddc0c26916574395447ebf4cff684314f6873a9>
- other: <https://git.kernel.org/stable/c/a0e952a99440258a6130ec4119ea4c62a8b4716b>

## 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-2026-43413>

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