CVE-2021-38166

In kernel/bpf/hashtab.c in the Linux kernel through 5.13.8, there is an integer overflow and out-of-bounds write when many elements are placed in a single bucket. NOTE: exploitation might be impractical without the CAP_SYS_ADMIN capability.

Summary:

In kernel/bpf/hashtab.c in the Linux kernel through 5.13.8, there is an integer overflow and out-of-bounds write when many elements are placed in a single bucket. NOTE: exploitation might be impractical without the CAP_SYS_ADMIN capability.

Reference Links(if available):

  • https://lore.kernel.org/bpf/[email protected]/
  • https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=c4eb1f403243fc7bbb7de644db8587c03de36da6
  • https://lists.fedoraproject.org/archives/list/[email protected]/message/UL6CH5M5PRLMA3KPBX4LPUO6Z73GRISO/
  • https://lists.fedoraproject.org/archives/list/[email protected]/message/GUVLBJKZMWA3E3YXSH4SZ7BOYGJP4GXP/
  • https://security.netapp.com/advisory/ntap-20210909-0001/
  • CVSS Score (if available)

    v2: / MEDIUMAV:L/AC:L/Au:N/C:P/I:P/A:P

    v3: / HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

    Links to Exploits(if available)