Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 692183B777B for ; Wed, 25 Mar 2026 10:32:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434720; cv=none; b=MiL9+5zkTcrD33e2q/gXfG53ULNV45u/ndfRR6haoUepIi/K5LneFG0r9sonSX6JzYfppH5nsuzQnuKfGXbV9nZCb+jV66ft12nkGp97kvUimAae+zOREggX26axiqsk1gpcNjJZJAemYPfdtdFZocqq+kcig/SMo0jMF7MDMKQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434720; c=relaxed/simple; bh=ZDN4pYA3Y+AgUF1RETEO3B+vHF/JGf0e4SM0bLpa6lY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ERcwDQcpF37bhRpDm0bHTMnHoN3/6KTwBr/ntPNZjQ+8Etqj5t0uZaGhYQnTPY5wlK0QDF8cxuI94U2XFN3bLdmnywzflZhx+YkUzNn77RKO7o693NGTWqkhOAQxFU+hLolge0EgM/9OydhDQE2HeC3f5uh8zky7yjXcUE7C+to= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hNENe04S; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="hNENe04S" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CF106C4CEF7; Wed, 25 Mar 2026 10:31:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774434720; bh=ZDN4pYA3Y+AgUF1RETEO3B+vHF/JGf0e4SM0bLpa6lY=; h=From:To:Cc:Subject:Date:Reply-To:From; b=hNENe04SP79tMO0zpBecMhtUa9i08SEJonvxNGiL9TK7rsUbweraIE+k5JuVPTh4q XotjM+KGXZldoeh2LsCMI8V04zoAQG/oX8xEOR/rhWndATEOfTvjdMDkIv3ThqQV98 nE0Gn6/x0G9MeR7HUngR4iShahTEk2RcUCXSWd90= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23378: net/sched: act_ife: Fix metalist update behavior Date: Wed, 25 Mar 2026 11:28:02 +0100 Message-ID: <2026032542-CVE-2026-23378-f329@gregkh> X-Mailer: git-send-email 2.53.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=5293; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=90oCZxTfvF3mzvRxBHYn0NUpVlEFVGFHc7DZY/7gEZQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmHdyRN/uwR9mMK9yIdrwfilsaT8111npVM+XZ8RizTd vH/qtZFHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARV1uG+blcFhpf3PbKrzd6 d/fp+iNVNSzfZjLMr36mWCXy49ZZU7/t02R/dM2YzajQDQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: net/sched: act_ife: Fix metalist update behavior Whenever an ife action replace changes the metalist, instead of replacing the old data on the metalist, the current ife code is appending the new metadata. Aside from being innapropriate behavior, this may lead to an unbounded addition of metadata to the metalist which might cause an out of bounds error when running the encode op: [ 138.423369][ C1] ================================================================== [ 138.424317][ C1] BUG: KASAN: slab-out-of-bounds in ife_tlv_meta_encode (net/ife/ife.c:168) [ 138.424906][ C1] Write of size 4 at addr ffff8880077f4ffe by task ife_out_out_bou/255 [ 138.425778][ C1] CPU: 1 UID: 0 PID: 255 Comm: ife_out_out_bou Not tainted 7.0.0-rc1-00169-gfbdfa8da05b6 #624 PREEMPT(full) [ 138.425795][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 138.425800][ C1] Call Trace: [ 138.425804][ C1] [ 138.425808][ C1] dump_stack_lvl (lib/dump_stack.c:122) [ 138.425828][ C1] print_report (mm/kasan/report.c:379 mm/kasan/report.c:482) [ 138.425839][ C1] ? srso_alias_return_thunk (arch/x86/lib/retpoline.S:221) [ 138.425844][ C1] ? __virt_addr_valid (./arch/x86/include/asm/preempt.h:95 (discriminator 1) ./include/linux/rcupdate.h:975 (discriminator 1) ./include/linux/mmzone.h:2207 (discriminator 1) arch/x86/mm/physaddr.c:54 (discriminator 1)) [ 138.425853][ C1] ? ife_tlv_meta_encode (net/ife/ife.c:168) [ 138.425859][ C1] kasan_report (mm/kasan/report.c:221 mm/kasan/report.c:597) [ 138.425868][ C1] ? ife_tlv_meta_encode (net/ife/ife.c:168) [ 138.425878][ C1] kasan_check_range (mm/kasan/generic.c:186 (discriminator 1) mm/kasan/generic.c:200 (discriminator 1)) [ 138.425884][ C1] __asan_memset (mm/kasan/shadow.c:84 (discriminator 2)) [ 138.425889][ C1] ife_tlv_meta_encode (net/ife/ife.c:168) [ 138.425893][ C1] ? ife_tlv_meta_encode (net/ife/ife.c:171) [ 138.425898][ C1] ? srso_alias_return_thunk (arch/x86/lib/retpoline.S:221) [ 138.425903][ C1] ife_encode_meta_u16 (net/sched/act_ife.c:57) [ 138.425910][ C1] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 138.425916][ C1] ? __asan_memcpy (mm/kasan/shadow.c:105 (discriminator 3)) [ 138.425921][ C1] ? __pfx_ife_encode_meta_u16 (net/sched/act_ife.c:45) [ 138.425927][ C1] ? srso_alias_return_thunk (arch/x86/lib/retpoline.S:221) [ 138.425931][ C1] tcf_ife_act (net/sched/act_ife.c:847 net/sched/act_ife.c:879) To solve this issue, fix the replace behavior by adding the metalist to the ife rcu data structure. The Linux kernel CVE team has assigned CVE-2026-23378 to this issue. Affected and fixed versions =========================== Issue introduced in 4.15 with commit aa9fd9a325d51fa0b11153b03b8fefff569fa955 and fixed in 6.1.167 with commit 56ade7ddea6ce605552341785d08e365c3f61861 Issue introduced in 4.15 with commit aa9fd9a325d51fa0b11153b03b8fefff569fa955 and fixed in 6.6.130 with commit 5b1449301ca070814d866990b46f48d3f39ea4ee Issue introduced in 4.15 with commit aa9fd9a325d51fa0b11153b03b8fefff569fa955 and fixed in 6.12.77 with commit 91a89d3bdc2f63d983adc13d1771631663c5dc1b Issue introduced in 4.15 with commit aa9fd9a325d51fa0b11153b03b8fefff569fa955 and fixed in 6.18.17 with commit cd888c3966672239f2e0707b846a5a936ac9038a Issue introduced in 4.15 with commit aa9fd9a325d51fa0b11153b03b8fefff569fa955 and fixed in 6.19.7 with commit 691866c4cca54dc4df762276b49e89b36e046947 Issue introduced in 4.15 with commit aa9fd9a325d51fa0b11153b03b8fefff569fa955 and fixed in 7.0-rc3 with commit e2cedd400c3ec0302ffca2490e8751772906ac23 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-23378 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: include/net/tc_act/tc_ife.h net/sched/act_ife.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/56ade7ddea6ce605552341785d08e365c3f61861 https://git.kernel.org/stable/c/5b1449301ca070814d866990b46f48d3f39ea4ee https://git.kernel.org/stable/c/91a89d3bdc2f63d983adc13d1771631663c5dc1b https://git.kernel.org/stable/c/cd888c3966672239f2e0707b846a5a936ac9038a https://git.kernel.org/stable/c/691866c4cca54dc4df762276b49e89b36e046947 https://git.kernel.org/stable/c/e2cedd400c3ec0302ffca2490e8751772906ac23