Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835435 - (CVE-2022-25636) - linux kernel 5.4+ <{5.15.26,5.10.102,5.4.182}: allows local users to gain privileges because of a heap out-of-bounds write in netfilter
Summary: (CVE-2022-25636) - linux kernel 5.4+ <{5.15.26,5.10.102,5.4.182}: allows loca...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Kernel (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
URL: https://www.openwall.com/lists/oss-se...
Whiteboard:
Keywords:
Depends on: 835449 835450 835451
Blocks:
  Show dependency tree
 
Reported: 2022-03-16 16:28 UTC by CFuga
Modified: 2022-10-15 02:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description CFuga 2022-03-16 16:28:06 UTC
net/netfilter/nf_dup_netdev.c in the Linux kernel 5.4 through 5.6.10 allows local users to gain privileges because of a heap out-of-bounds write. This is related to nf_tables_offload.

https://nickgregory.me/linux/security/2022/03/12/cve-2022-25636/

Fixed in 5.15.26, 5.10.102, 5.4.182.

Pablo Neira Ayuso:
      netfilter: nf_tables_offload: incorrect flow offload action array size


Reproducible: Always
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-03-26 01:46:43 UTC
kernel@, please stabilize 5.4.182.
Comment 2 Larry the Git Cow gentoo-dev 2022-03-26 17:56:39 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1333c8c9a7b6e510a7c5d68b9e77d1864d66b236

commit 1333c8c9a7b6e510a7c5d68b9e77d1864d66b236
Author:     Mike Pagano <mpagano@gentoo.org>
AuthorDate: 2022-03-26 17:53:54 +0000
Commit:     Mike Pagano <mpagano@gentoo.org>
CommitDate: 2022-03-26 17:56:23 +0000

    sys-kernel/gentoo-sources: Stable 5.4.187 per kernel policy (root exploit)
    
    CVE-2022-25636
    
    Bug: https://bugs.gentoo.org/835435
    
    Signed-off-by: Mike Pagano <mpagano@gentoo.org>

 sys-kernel/gentoo-sources/gentoo-sources-5.4.187.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)