CVE-2024-47809: dlm: fix possible lkb_resource null dereference
In the Linux kernel, the following vulnerability has been resolved:
dlm: fix possible lkb_resource null dereference
This patch fixes a possible null pointer dereference when this function is
called from request_lock() as lkb->lkb_resource is not assigned yet,
only after validate_lock_args() by calling attach_lkb(). Another issue
is that a resource name could be a non printable bytearray and we cannot
assume to be ASCII coded.
The log functionality is probably never being hit when DLM is used in
normal way and no debug logging is enabled. The null pointer dereference
can only occur on a new created lkb that does not have the resource
assigned yet, it probably never hits the null pointer dereference but we
should be sure that other changes might not change this behaviour and we
actually can hit the mentioned null pointer dereference.
In this patch we just drop the printout of the resource name, the lkb id
is enough to make a possible connection to a resource name if this
exists.
CVE-2024-47809 is a Linux kernel availability issue in DLM. A local authenticated user could potentially trigger a kernel null pointer dereference, causing a crash or denial of service. The sources describe this as unlikely in normal DLM use and mostly tied to logging/debug behavior.
Executive priority
Treat this as a moderate patching item, not an emergency. The impact is service availability, and exploitation requires local access. Prioritize production Linux clusters or systems using DLM, then include the fix in normal kernel maintenance cycles.
Technical view
The flaw is a CWE-476 null pointer dereference in Linux DLM. During request_lock(), lkb_resource may not yet be assigned before validate_lock_args() and attach_lkb(). Logging attempted to reference resource-name data that may be unavailable or non-printable. The fix removes resource-name output from that path.
Likely exposure
Exposure is limited to Linux systems running affected kernels where DLM code is present and reachable by a local privileged or authenticated context. The CVSS vector is local, low complexity, low privileges, no user interaction, and high availability impact only.
Exploitation context
The source bundle does not show KEV listing or active exploitation. The kernel description says the problematic logging path is probably never hit during normal DLM use without debug logging, but it was fixed defensively to prevent future reachable crashes.
Researcher notes
Evidence supports a local denial-of-service risk in DLM only. The source text stresses uncertain reachability under normal use and no named exploitation. Do not broaden scope beyond Linux kernel DLM without vendor evidence.
Mitigation direction
Update affected Linux kernels through vendor-supported security packages.
Confirm the applied kernel includes one of the referenced stable fixes.
If immediate patching is delayed, review vendor guidance for DLM-specific risk reduction.
Prioritize clustered or operationally critical Linux systems using DLM.
Avoid assuming a workaround unless your Linux vendor documents one.
Validation and detection
Inventory Linux hosts and record running kernel versions.
Identify systems where DLM is enabled, loaded, or operationally required.
Compare installed kernels against vendor advisories for CVE-2024-47809.
Verify kernel changelogs include the referenced DLM null dereference fix.
Confirm no unsupported custom kernel lacks the stable patch.
Based on public source material and reviewed before publication.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-476: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-476 · source CWE mapping
NULL Pointer Dereference
NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.