CVE-2026-46096
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2026
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
tpm2-sessions: Fix missing tpm_buf_destroy() in tpm2_read_public()
In the Linux kernel, the following vulnerability has been resolved: tpm2-sessions: Fix missing tpm_buf_destroy() in tpm2_read_public() tpm2_read_public() calls tpm_buf_init() but fails to call tpm_buf_destroy() on two exit paths, leaking a page allocation: 1. When name_size() returns an error (unrecognized hash algorithm), the function returns directly without destroying the buffer. 2. On the success path, the buffer is never destroyed before returning. All other error paths in the function correctly call tpm_buf_destroy() before returning. Fix both by adding the missing tpm_buf_destroy() calls.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 20eda7c74b69fe9e1caf9b930a5c016bf8d755fa | affected | git | f8775d9d9062da662cc861f9ff7722a65896d4cd | Unavailable | None listed |
| bda1cbf73c6e241267c286427f2ed52b5735d872 | affected | git | 2f434be87e256fd58254f60ddf5d7d58e775ca0b | Unavailable | None listed |
| bda1cbf73c6e241267c286427f2ed52b5735d872 | affected | git | f0f75a3d98b7959a8677b6363e23190f3018636b | Unavailable | None listed |
| a3b7eb67225c486a2da357c5db3e386f4e64bcde | affected | git | Unavailable | Unavailable | None listed |
| 6.18.3 | affected | semver | 6.18.27 | Unavailable | None listed |
| 6.12.64 | affected | semver | 6.13 | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 6.19 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 6.19 | Unavailable | None listed |
| 6.18.27 | unaffected | semver | Unavailable | 6.18.* | None listed |
| 7.0.4 | unaffected | semver | Unavailable | 7.0.* | None listed |
| 7.1 | unaffected | original_commit_for_fix | Unavailable | * | None listed |