{
  "id": "CVE-2025-38539",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38539",
  "published_at": "2025-08-16T11:12:31.678Z",
  "title": "tracing: Add down_write(trace_event_sem) when adding trace event",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\ntracing: Add down_write(trace_event_sem) when adding trace event\n\nWhen a module is loaded, it adds trace events defined by the module. It\nmay also need to modify the modules trace printk formats to replace enum\nnames with their values.\n\nIf two modules are loaded at the same time, the adding of the event to the\nftrace_events list can corrupt the walking of the list in the code that is\nmodifying the printk format strings and crash the kernel.\n\nThe addition of the event should take the trace_event_sem for write while\nit adds the new event.\n\nAlso add a lockdep_assert_held() on that semaphore in\n__trace_add_event_dirs() as it iterates the list.",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc6:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 110bf2b764eb6026b868d84499263cb24b1bcc8d, \u003c e70f5ee4c8824736332351b703c46f9469ed7f6c",
          "\u003e= 110bf2b764eb6026b868d84499263cb24b1bcc8d, \u003c db45632479ceecb669612ed8dbce927e3c6279fc",
          "\u003e= 110bf2b764eb6026b868d84499263cb24b1bcc8d, \u003c ca60064ea03f14e06c763de018403cb56ba3207d",
          "\u003e= 110bf2b764eb6026b868d84499263cb24b1bcc8d, \u003c 7803b28c9aa8d8bd4e19ebcf5f0db9612b0f333b",
          "\u003e= 110bf2b764eb6026b868d84499263cb24b1bcc8d, \u003c 6bc94f20a4c304997288f9a45278c9d0c06987d3",
          "\u003e= 110bf2b764eb6026b868d84499263cb24b1bcc8d, \u003c 33e20747b47ddc03569b6bc27a2d6894c1428182",
          "\u003e= 110bf2b764eb6026b868d84499263cb24b1bcc8d, \u003c 70fecd519caad0c1741c3379d5348c9000a5b29d",
          "\u003e= 110bf2b764eb6026b868d84499263cb24b1bcc8d, \u003c b5e8acc14dcb314a9b61ff19dcd9fdd0d88f70df"
        ],
        "fixed_in": [
          "e70f5ee4c8824736332351b703c46f9469ed7f6c",
          "db45632479ceecb669612ed8dbce927e3c6279fc",
          "ca60064ea03f14e06c763de018403cb56ba3207d",
          "7803b28c9aa8d8bd4e19ebcf5f0db9612b0f333b",
          "6bc94f20a4c304997288f9a45278c9d0c06987d3",
          "33e20747b47ddc03569b6bc27a2d6894c1428182",
          "70fecd519caad0c1741c3379d5348c9000a5b29d",
          "b5e8acc14dcb314a9b61ff19dcd9fdd0d88f70df"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.31"
        ],
        "fixed_in": [
          "0",
          "5.4.297",
          "5.10.241",
          "5.15.190",
          "6.1.147",
          "6.6.100",
          "6.12.40",
          "6.15.8",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to e70f5ee4c8824736332351b703c46f9469ed7f6c or db45632479ceecb669612ed8dbce927e3c6279fc or ca60064ea03f14e06c763de018403cb56ba3207d or 7803b28c9aa8d8bd4e19ebcf5f0db9612b0f333b or 6bc94f20a4c304997288f9a45278c9d0c06987d3 or 33e20747b47ddc03569b6bc27a2d6894c1428182 or 70fecd519caad0c1741c3379d5348c9000a5b29d or b5e8acc14dcb314a9b61ff19dcd9fdd0d88f70df or later.",
      "Upgrade Linux to 0 or 5.4.297 or 5.10.241 or 5.15.190 or 6.1.147 or 6.6.100 or 6.12.40 or 6.15.8 or 6.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
