CVE-2024-35835

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-35835
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-35835.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-35835
Downstream
Related
Published
2024-05-17T14:02:23.469Z
Modified
2025-11-28T02:34:37.074216Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
net/mlx5e: fix a double-free in arfs_create_groups
Details

In the Linux kernel, the following vulnerability has been resolved:

net/mlx5e: fix a double-free in arfscreategroups

When in allocated by kvzalloc fails, arfscreategroups will free ft->g and return an error. However, arfscreatetable, the only caller of arfscreategroups, will hold this error and call to mlx5edestroyflow_table, in which the ft->g will be freed again.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35835.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1cabe6b0965ec067ac60e8f182f16d479a3b9a5c
Fixed
e3d3ed8c152971dbe64c92c9ecb98fdb52abb629
Fixed
2501afe6c4c9829d03abe9a368b83d9ea1b611b7
Fixed
cf116d9c3c2aebd653c2dfab5b10c278e9ec3ee5
Fixed
c57ca114eb00e03274dd38108d07a3750fa3c056
Fixed
42876db001bbea7558e8676d1019f08f9390addb
Fixed
b21db3f1ab7967a81d6bbd328d28fe5a4c07a8a7
Fixed
66cc521a739ccd5da057a1cb3d6346c6d0e7619b
Fixed
3c6d5189246f590e4e1f167991558bdb72a4738b

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.7.0
Fixed
4.19.307
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.269
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.210
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.149
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.76
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.15
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.7.3