Security mailing lists by PureSourceCode

CVE-2024-36883

HIGH 7.1CVSS 3.1

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

net: fix out-of-bounds access in ops_init

net_alloc_generic is called by net_alloc, which is called without any
locking. It reads max_gen_ptrs, which is changed under pernet_ops_rwsem. It
is read twice, first to allocate an array, then to set s.len, which is
later used to limit the bounds of the array access.

It is possible that the array is allocated and another thread is
registering a new pernet ops, increments max_gen_ptrs, which is then used
to set s.len with a larger than allocated length for the variable array.

Fix it by reading max_gen_ptrs only once in net_alloc_generic. If
max_gen_ptrs is later incremented, it will be caught in net_assign_generic.

Published
30 May 2024
Last modified
4 Aug 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Modified
Weakness
CWE-125
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 3.0.19, < 3.1 3.1
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 3.2.3, < 3.3 3.3
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 3.3.1, < 4.19.314 4.19.314
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 4.20, < 5.4.276 5.4.276
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 5.5, < 5.10.217 5.10.217
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 5.11, < 5.15.159 5.15.159
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 5.16, < 6.1.91 6.1.91
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.2, < 6.6.31 6.6.31
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.7, < 6.8.10 6.8.10
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:3.3:-:*:*:*:*:*:*
= 3.3
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:3.3:rc2:*:*:*:*:*:*
= 3.3
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:3.3:rc3:*:*:*:*:*:*
= 3.3
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:3.3:rc4:*:*:*:*:*:*
= 3.3
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:3.3:rc5:*:*:*:*:*:*
= 3.3
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:3.3:rc6:*:*:*:*:*:*
= 3.3
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:3.3:rc7:*:*:*:*:*:*
= 3.3
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*
= 6.9
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*
= 6.9
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:*
= 6.9
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:*
= 6.9
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.9:rc5:*:*:*:*:*:*
= 6.9
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.9:rc6:*:*:*:*:*:*
= 6.9
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.9:rc7:*:*:*:*:*:*
= 6.9
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 30 May 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.