CVE-2024-42070

medium

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: fully validate NFT_DATA_VALUE on store to data registers register store validation for NFT_DATA_VALUE is conditional, however, the datatype is always either NFT_DATA_VALUE or NFT_DATA_VERDICT. This only requires a new helper function to infer the register type from the set datatype so this conditional check can be removed. Otherwise, pointer to chain object can be leaked through the registers.

References

https://git.kernel.org/stable/c/efb27ad05949403848f487823b597ed67060e007

https://git.kernel.org/stable/c/efb27ad05949403848f487823b597ed67060e007

https://git.kernel.org/stable/c/952bf8df222599baadbd4f838a49c4fef81d2564

https://git.kernel.org/stable/c/952bf8df222599baadbd4f838a49c4fef81d2564

https://git.kernel.org/stable/c/7931d32955e09d0a11b1fe0b6aac1bfa061c005c

https://git.kernel.org/stable/c/7931d32955e09d0a11b1fe0b6aac1bfa061c005c

https://git.kernel.org/stable/c/5d43d789b57943720dca4181a05f6477362b94cf

https://git.kernel.org/stable/c/5d43d789b57943720dca4181a05f6477362b94cf

https://git.kernel.org/stable/c/461302e07f49687ffe7d105fa0a330c07c7646d8

https://git.kernel.org/stable/c/461302e07f49687ffe7d105fa0a330c07c7646d8

https://git.kernel.org/stable/c/41a6375d48deaf7f730304b5153848bfa1c2980f

https://git.kernel.org/stable/c/41a6375d48deaf7f730304b5153848bfa1c2980f

https://git.kernel.org/stable/c/40188a25a9847dbeb7ec67517174a835a677752f

https://git.kernel.org/stable/c/40188a25a9847dbeb7ec67517174a835a677752f

https://git.kernel.org/stable/c/23752737c6a618e994f9a310ec2568881a6b49c4

https://git.kernel.org/stable/c/23752737c6a618e994f9a310ec2568881a6b49c4

Details

Source: Mitre, NVD

Published: 2024-07-29

Updated: 2024-07-30

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium