rv: Use strings in da monitors tracepoints (Linux Linux)

CVE-2025-38636
HIGH 7.1

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 16 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: rv: Use strings in da monitors tracepoints Using DA monitors tracepoints with KASAN enabled triggers the following warning: BUG: KASAN: global-out-of-bounds in do_trace_event_raw_event_event_da_monitor+0xd6/0x1a0 Read of size 32 at addr ffffffffaada8980 by task ... Call Trace: <TASK> [...] do_trace_event_raw_event_event_da_monitor+0xd6/0x1a0 ? __pfx_do_trace_event_raw_event_event_da_monitor+0x10/0x10 ? trace_event_sncid+0x83/0x200 trace_event_sncid+0x163/0x200 [...] The buggy address belongs to the variable: automaton_snep+0x4e0/0x5e0 This is caused by the tracepoints reading 32 bytes __array instead of __string from the automata definition. Such strings are literals and reading 32 bytes ends up in out of bound memory accesses (e.g. the next automaton's data in this case). The error is harmless as, while printing the string, we stop at the null terminator, but it should still be fixed. Use the __string facilities while defining the tracepoints to avoid reading out of bound memory.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 792575348ff70e05c6040d02fce38e949ef92c37 < cb8de6f5ed5c43f7387615bbe601d2a4a31b7b35
affected : ≥ 792575348ff70e05c6040d02fce38e949ef92c37 < dcae71222c8b9e5b5dd88a2d67347dedf10e68c6
affected : ≥ 792575348ff70e05c6040d02fce38e949ef92c37 < 665ca03e93cee01baadc7b5eaee21b9d892e0dab
affected : ≥ 792575348ff70e05c6040d02fce38e949ef92c37 < 0ebc70d973ce7a81826b5c4f55f743e07f5864d9
affected : ≥ 792575348ff70e05c6040d02fce38e949ef92c37 < 7f904ff6e58d398c4336f3c19c42b338324451f7
Other versions : unaffected
Linux · Linux
affected : 6.0
unaffected : ≥ 0 < 6.0
unaffected : ≥ 6.1.191 ≤ 6.1.*
unaffected : ≥ 6.6.160 ≤ 6.6.*
unaffected : ≥ 6.12.114 ≤ 6.12.*
unaffected : ≥ 6.16.1 ≤ 6.16.*
unaffected : ≥ 6.17 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD