drm/xe/guc_submit: add missing locking in wedged_fini
In the Linux kernel, the following vulnerability has been resolved: drm/xe/guc_submit: add missing locking in wedged_fini Any non-wedged queue can have a zero refcount here and can be running concurrently with an async queue destroy, therefore dereferencing the queue ptr to check wedge status after the lookup can trigger UAF if queue is not wedged. Fix this by keeping the submission_state lock held around the check to postpone the free and make the check safe, before dropping again around the put() to avoid the deadlock. (cherry picked from commit d28af0b6b9580b9f90c265a7da0315b0ad20bbfd)
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.11.3
- CVEs
- CVE-2024-49943
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 17:51 UTC · Revision 1
Source evidence
drm/xe/guc_submit: add missing locking in wedged_fini
core-osv · Original sourcePublished 21 Oct 2024, 18:02 UTC
In the Linux kernel, the following vulnerability has been resolved: drm/xe/guc_submit: add missing locking in wedged_fini Any non-wedged queue can have a zero refcount here and can be running concurrently with an async queue destroy, therefore dereferencing the queue ptr to check wedge status after the lookup can trigger UAF if queue is not wedged. Fix this by keeping the submission_state lock held around the check to postpone the free and make the check safe, before dropping again around the put() to avoid the deadlock. (cherry picked from commit d28af0b6b9580b9f90c265a7da0315b0ad20bbfd)
osv:CVE-2024-49943
Kernel
Fixed versions: 6.11.3
Complete source record
{
"id": "02d359d00a7c5193b5582552a9a3c861a8075e31e7c9dbb38ef22d6717423cbb",
"url": "https://osv.dev/vulnerability/CVE-2024-49943",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "drm/xe/guc_submit: add missing locking in wedged_fini",
"summary": "In the Linux kernel, the following vulnerability has been resolved: drm/xe/guc_submit: add missing locking in wedged_fini Any non-wedged queue can have a zero refcount here and can be running concurrently with an async queue destroy, therefore dereferencing the queue ptr to check wedge status after the lookup can trigger UAF if queue is not wedged. Fix this by keeping the submission_state lock held around the check to postpone the free and make the check safe, before dropping again around the put() to avoid the deadlock. (cherry picked from commit d28af0b6b9580b9f90c265a7da0315b0ad20bbfd)",
"evidence": "osv:CVE-2024-49943",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.11.3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2024-49943",
"aliases": [
"CVE-2024-49943"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "8ed9aaae39f39130b7a3eb2726be05d7f64b344c"
},
{
"fixed": "d88f9bab7e62dd0dbe983fa70cf040042a60cc84"
},
{
"fixed": "790533e44bfc7af929842fccd9674c9f424d4627"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49943.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.11.0"
},
{
"fixed": "6.11.3"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49943.json"
}
}
],
"modified": "2026-10-28T02:30:38.458800235Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/790533e44bfc7af929842fccd9674c9f424d4627",
"https://git.kernel.org/stable/c/d88f9bab7e62dd0dbe983fa70cf040042a60cc84",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49943.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-49943",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49943.json"
}
},
"related_cves": [
{
"value": "CVE-2024-49943",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505509,
"published_at": "2024-10-21T18:02:01.794+00:00"
}