Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-71113

MEDIUM 5.5EPSS 6%

crypto: af_alg - zero initialize memory allocated via sock_kmalloc

Mitigation

  • Upgrade Linux to 6f6e309328d53a10c0fe1f77dec2db73373179b6 or later.

Who should check

  • Anyone running Linux >= fe869cdb89c95d060c77eea20204d6c91f233b53, < e125c8e346e4eb7b3e854c862fcb4392bc13ddba; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 543bf004e4eafbb302b1e6c78570d425d2ca13a0; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < f81244fd6b14fecfa93b66b6bb1d59f96554e550; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 84238876e3b3b262cf62d5f4d1338e983fb27010; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 5a4b65523608974a81edbe386f8a667a3e10c726; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 51a5ab36084f3251ef87eda3e6a6236f6488925e; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 6f6e309328d53a10c0fe1f77dec2db73373179b6
  • Anyone running Linux 2.6.38

Vulnerability facts

Affected
Linux >= fe869cdb89c95d060c77eea20204d6c91f233b53, < e125c8e346e4eb7b3e854c862fcb4392bc13ddba; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 543bf004e4eafbb302b1e6c78570d425d2ca13a0; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < f81244fd6b14fecfa93b66b6bb1d59f96554e550; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 84238876e3b3b262cf62d5f4d1338e983fb27010; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 5a4b65523608974a81edbe386f8a667a3e10c726; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 51a5ab36084f3251ef87eda3e6a6236f6488925e; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 6f6e309328d53a10c0fe1f77dec2db73373179b6; Linux 2.6.38
Fixed in
Linux 543bf004e4eafbb302b1e6c78570d425d2ca13a0, Linux 84238876e3b3b262cf62d5f4d1338e983fb27010, Linux 5a4b65523608974a81edbe386f8a667a3e10c726, Linux 51a5ab36084f3251ef87eda3e6a6236f6488925e, Linux 6f6e309328d53a10c0fe1f77dec2db73373179b6
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
EPSS
0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
CWE
CWE-908, CWE-119
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: crypto: af_alg - zero initialize memory allocated via sock_kmalloc Several crypto user API contexts and requests allocated with sock_kmalloc() were left uninitialized, relying on callers to set fields explicitly. This resulted in the use of uninitialized data in certain error paths or when new fields are added in the future. The ACVP patches also contain two user-space interface files: algif_kpp.c and algif_akcipher.c. These too rely on proper initialization of their context structures. A particular issue has been observed with the newly added 'inflight' variable introduced in af_alg_ctx by commit: 67b164a871af ("crypto: af_alg - Disallow multiple in-flight AIO requests") Because the context is not memset to zero after allocation, the inflight variable has contained garbage values. As a result, af_alg_alloc_areq() has incorrectly returned -EBUSY randomly when the garbage value was interpreted as true: https://github.com/gregkh/linux/blame/master/crypto/af_alg.c#L1209 The check directly tests ctx->inflight without explicitly comparing against true/false. Since inflight is only ever set to true or false later, an uninitialized value has triggered -EBUSY failures. Zero-initializing memory allocated with sock_kmalloc() ensures inflight and other fields start in a known state, removing random issues caused by uninitialized data.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= fe869cdb89c95d060c77eea20204d6c91f233b53, < e125c8e346e4eb7b3e854c862fcb4392bc13ddba; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 543bf004e4eafbb302b1e6c78570d425d2ca13a0; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < f81244fd6b14fecfa93b66b6bb1d59f96554e550; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 84238876e3b3b262cf62d5f4d1338e983fb27010; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 5a4b65523608974a81edbe386f8a667a3e10c726; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 51a5ab36084f3251ef87eda3e6a6236f6488925e; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 6f6e309328d53a10c0fe1f77dec2db73373179b6—cvelist
Linux2.6.38—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-71113. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-71113.md
Affected: Linux >= fe869cdb89c95d060c77eea20204d6c91f233b53, < e125c8e346e4eb7b3e854c862fcb4392bc13ddba; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 543bf004e4eafbb302b1e6c78570d425d2ca13a0; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < f81244fd6b14fecfa93b66b6bb1d59f96554e550; >= fe869cdb89c95d060c77eea…
Fixed in: Linux 543bf004e4eafbb302b1e6c78570d425d2ca13a0, Linux 84238876e3b3b262cf62d5f4d1338e983fb27010, Linux 5a4b65523608974a81edbe386f8a667a3e10c726, Linux 51a5ab36084f3251ef87eda3e6a6236f6488925e, Linux 6f6e309328d53a10c0fe1f77dec2db73373179b6

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.

References

FAQ

Is CVE-2025-71113 being exploited?

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

How serious is CVE-2025-71113?

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

Which versions are affected by CVE-2025-71113?

Linux >= fe869cdb89c95d060c77eea20204d6c91f233b53, < e125c8e346e4eb7b3e854c862fcb4392bc13ddba; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 543bf004e4eafbb302b1e6c78570d425d2ca13a0; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < f81244fd6b14fecfa93b66b6bb1d59f96554e550; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 84238876e3b3b262cf62d5f4d1338e983fb27010; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 5a4b65523608974a81edbe386f8a667a3e10c726; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 51a5ab36084f3251ef87eda3e6a6236f6488925e; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 6f6e309328d53a10c0fe1f77dec2db73373179b6; Linux 2.6.38.

Is there a fix for CVE-2025-71113?

Yes. Fixed in Linux 543bf004e4eafbb302b1e6c78570d425d2ca13a0, Linux 84238876e3b3b262cf62d5f4d1338e983fb27010, Linux 5a4b65523608974a81edbe386f8a667a3e10c726, Linux 51a5ab36084f3251ef87eda3e6a6236f6488925e, Linux 6f6e309328d53a10c0fe1f77dec2db73373179b6. Upgrade Linux to 6f6e309328d53a10c0fe1f77dec2db73373179b6 or later.

How do I check if I'm affected by CVE-2025-71113?

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.

Sponsors