Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#75226 - [linux linux-lts linux-hardened linux-zen] Potential LPE due to heap overflow in nft_set_elem_init()

Attached to Project: Arch Linux
Opened by Pascal Ernster (hardfalcon) - Sunday, 03 July 2022, 20:04 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 20 August 2022, 07:46 GMT
Task Type Bug Report
Category Security
Status Closed
Assigned To Andreas Radke (AndyRTR)
Jan Alexander Steffens (heftig)
David Runge (dvzrv)
Levente Polyak (anthraxx)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The Linux kernel since at least version 5.8 is reported to be vulnerable to an LPE vulnerability due to a heap overflow in the nft_set_elem_init() function in /net/netfilter/nf_tables_api.c:">

Here's the relevant thread on the netdev list:

And here's the patchset that will hopefully fix the issue:">">">

A CVE has been requested but not assigned yet AFAICT.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Saturday, 20 August 2022, 07:46 GMT
Reason for closing:  Fixed
Comment by Pascal Ernster (hardfalcon) - Sunday, 03 July 2022, 20:07 GMT Comment by Pascal Ernster (hardfalcon) - Tuesday, 05 July 2022, 10:19 GMT
This has been assigned CVE-2022-34918 by MITRE:
Comment by Pascal Ernster (hardfalcon) - Friday, 08 July 2022, 16:12 GMT Comment by Levente Polyak (anthraxx) - Friday, 08 July 2022, 20:34 GMT
implemented upstream in hardened 5.18.10-hardened1 release
Comment by Andreas Radke (AndyRTR) - Saturday, 09 July 2022, 16:05 GMT
Fixed in linux-lts-5.15.53-2.