CVE-2026-97922
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)
tracing: Free histogram var refs regardless of how often they are referenced
In the Linux kernel, the following vulnerability has been resolved: tracing: Free histogram var refs regardless of how often they are referenced Using the same variable three or more times in one hist trigger leaks the variable reference and its strings when the trigger is removed. commit 656fe2ba85e8 ("tracing: Use hist trigger's var_ref array to destroy var_refs") made a trigger's var_refs[] array the only owner of a var ref: destroy_hist_field() returns early for HIST_FIELD_FL_VAR_REF, so the field expressions never destroy one. One entry, freed once, no count needed. commit 8bcebc77e85f ("tracing: Fix histogram code when expression has same var as value") then made repeated references share one object and added a count of them. Only the increment side exists, since those expressions still return early and never drop a reference, so __destroy_hist_field() sees how many references were created rather than how many are left. It frees when the decremented count is 0 or 1, so two references work and three or more leak. Sharing kept one array entry per object, and create_var_ref() searches and appends within a single trigger, so nothing outside it holds the object. Removing a trigger whose variables are still referenced is already refused by check_var_refs() with -EBUSY. Drop the count and free unconditionally.
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) |
|---|---|---|---|---|---|
| 8bcebc77e85f3d7536f96845a0fe94b1dddb6af0 | affected | git | a1f1d64a0a9791c842c4646253daf6ac0313eac7 | Unavailable | None listed |
| 8bcebc77e85f3d7536f96845a0fe94b1dddb6af0 | affected | git | b513a4c60a7aa1f4b4c2a48544ab003cb36f1e94 | Unavailable | None listed |
| 8bcebc77e85f3d7536f96845a0fe94b1dddb6af0 | affected | git | e7b6d67b43caee9183a4374d23641578ea556e6c | Unavailable | None listed |
| 8bcebc77e85f3d7536f96845a0fe94b1dddb6af0 | affected | git | 4cff53bb19412c6f2d90b50678de5c3903f7f96a | Unavailable | None listed |
| 8bcebc77e85f3d7536f96845a0fe94b1dddb6af0 | affected | git | 94bbd65da4ae26592fa1977a74ee94218ab02a26 | Unavailable | None listed |
| 8bcebc77e85f3d7536f96845a0fe94b1dddb6af0 | affected | git | 4bddcb346a6cf4615ca77f69a589623b877ca267 | Unavailable | None listed |
| ce28d664054df01997baace61d1defca77689798 | affected | git | Unavailable | Unavailable | None listed |
| bf470f051556b610265ea02ad2102de75e8e619c | affected | git | Unavailable | Unavailable | None listed |
| 4.19.100 | affected | semver | 4.20 | Unavailable | None listed |
| 5.4.16 | affected | semver | 5.5 | 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) |
|---|---|---|---|---|---|
| 5.5 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 5.5 | Unavailable | None listed |
| 6.1.189 | unaffected | semver | Unavailable | 6.1.* | None listed |
| 6.6.158 | unaffected | semver | Unavailable | 6.6.* | None listed |
| 6.12.111 | unaffected | semver | Unavailable | 6.12.* | None listed |
| 6.18.53 | unaffected | semver | Unavailable | 6.18.* | None listed |
| 7.2.7 | unaffected | semver | Unavailable | 7.2.* | None listed |
| 7.3 | unaffected | original_commit_for_fix | Unavailable | * | None listed |