# CVE-2026-43043: crypto: af-alg - fix NULL pointer dereference in scatterwalk

> 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-26)
- **CWE:** CWE-476
- **Published:** 2026-05-01T14:15:39.576Z
- **Modified:** 2026-11-11T23:10:00.263Z

## Who should check

- Anyone running Linux \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< f48d3dd99199180cf37d6253550c55e86372309a; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< f9acceae7b004956851fd4268edf9f518a9bce04; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 7195350fb78538c25cd790d703f8f2c73ee0d395; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 7cdf2c6381b21ab5ccf8116750d5582fcd6c0f49; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 44eafa39363e8d5dfda6a8c6eb6b45458ed4b948; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 00cbdec17c15d024a1c5002c7365df7624a18a75; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 4b03ab0a587ec57eb7ddb5c115d84a42896f60f7; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 62397b493e14107ae82d8b80938f293d95425bcb
- Anyone running Linux 2.6.38

## Description

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

crypto: af-alg - fix NULL pointer dereference in scatterwalk

The AF\_ALG interface fails to unmark the end of a Scatter/Gather List (SGL)
when chaining a new af\_alg\_tsgl structure. If a sendmsg() fills an SGL
exactly to MAX\_SGL\_ENTS, the last entry is marked as the end. A subsequent
sendmsg() allocates a new SGL and chains it, but fails to clear the end
marker on the previous SGL's last data entry.

This causes the crypto scatterwalk to hit a premature end, returning NULL
on sg\_next() and leading to a kernel panic during dereference.

Fix this by explicitly unmarking the end of the previous SGL when
performing sg\_chain() in af\_alg\_alloc\_tsgl().

## Affected and fixed versions

- Linux: \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< f48d3dd99199180cf37d6253550c55e86372309a; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< f9acceae7b004956851fd4268edf9f518a9bce04; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 7195350fb78538c25cd790d703f8f2c73ee0d395; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 7cdf2c6381b21ab5ccf8116750d5582fcd6c0f49; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 44eafa39363e8d5dfda6a8c6eb6b45458ed4b948; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 00cbdec17c15d024a1c5002c7365df7624a18a75; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 4b03ab0a587ec57eb7ddb5c115d84a42896f60f7; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 62397b493e14107ae82d8b80938f293d95425bcb (cvelist)
- Linux: 2.6.38 (cvelist)

## Mitigation

- Upgrade Linux to 62397b493e14107ae82d8b80938f293d95425bcb 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-43043. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-43043.md
Affected: Linux >= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < f48d3dd99199180cf37d6253550c55e86372309a; >= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < f9acceae7b004956851fd4268edf9f518a9bce04; >= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < 7195350fb78538c25cd790d703f8f2c73ee0d395; >= 8ff590903d5fc7f5a0a988c…
Fixed in: Linux 7195350fb78538c25cd790d703f8f2c73ee0d395, Linux 7cdf2c6381b21ab5ccf8116750d5582fcd6c0f49, Linux 44eafa39363e8d5dfda6a8c6eb6b45458ed4b948, Linux 00cbdec17c15d024a1c5002c7365df7624a18a75, Linux 4b03ab0a587ec57eb7ddb5c115d84a42896f60f7, Linux 62397b493e14107ae82d8b80938f293d95425bcb

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-43043 being exploited?

There is no confirmed exploitation: CVE-2026-43043 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-26).

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

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

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

Linux \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< f48d3dd99199180cf37d6253550c55e86372309a; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< f9acceae7b004956851fd4268edf9f518a9bce04; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 7195350fb78538c25cd790d703f8f2c73ee0d395; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 7cdf2c6381b21ab5ccf8116750d5582fcd6c0f49; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 44eafa39363e8d5dfda6a8c6eb6b45458ed4b948; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 00cbdec17c15d024a1c5002c7365df7624a18a75; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 4b03ab0a587ec57eb7ddb5c115d84a42896f60f7; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 62397b493e14107ae82d8b80938f293d95425bcb; Linux 2.6.38.

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

Yes. Fixed in Linux 7195350fb78538c25cd790d703f8f2c73ee0d395, Linux 7cdf2c6381b21ab5ccf8116750d5582fcd6c0f49, Linux 44eafa39363e8d5dfda6a8c6eb6b45458ed4b948, Linux 00cbdec17c15d024a1c5002c7365df7624a18a75, Linux 4b03ab0a587ec57eb7ddb5c115d84a42896f60f7, Linux 62397b493e14107ae82d8b80938f293d95425bcb. Upgrade Linux to 62397b493e14107ae82d8b80938f293d95425bcb or later.

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

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/f48d3dd99199180cf37d6253550c55e86372309a>
- patch: <https://git.kernel.org/stable/c/f9acceae7b004956851fd4268edf9f518a9bce04>
- patch: <https://git.kernel.org/stable/c/7195350fb78538c25cd790d703f8f2c73ee0d395>
- patch: <https://git.kernel.org/stable/c/7cdf2c6381b21ab5ccf8116750d5582fcd6c0f49>
- patch: <https://git.kernel.org/stable/c/44eafa39363e8d5dfda6a8c6eb6b45458ed4b948>
- patch: <https://git.kernel.org/stable/c/00cbdec17c15d024a1c5002c7365df7624a18a75>
- patch: <https://git.kernel.org/stable/c/4b03ab0a587ec57eb7ddb5c115d84a42896f60f7>
- patch: <https://git.kernel.org/stable/c/62397b493e14107ae82d8b80938f293d95425bcb>

## 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-43043>

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