Go to file
Vasily Averin a99ae8530f skb_expand_head() adjust skb->truesize incorrectly
Christoph Paasch reports [1] about incorrect skb->truesize
after skb_expand_head() call in ip6_xmit.
This may happen because of two reasons:
- skb_set_owner_w() for newly cloned skb is called too early,
before pskb_expand_head() where truesize is adjusted for (!skb-sk) case.
- pskb_expand_head() does not adjust truesize in (skb->sk) case.
In this case sk->sk_wmem_alloc should be adjusted too.

[1] https://lkml.org/lkml/2021/8/20/1082

Fixes: f1260ff15a ("skbuff: introduce skb_expand_head()")
Fixes: 2d85a1b31d ("ipv6: ip6_finish_output2: set sk into newly allocated nskb")
Reported-by: Christoph Paasch <christoph.paasch@gmail.com>
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/644330dd-477e-0462-83bf-9f514c41edd1@virtuozzo.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
(cherry-picked from commit 7f678def99)
CVE-2024-26921
Signed-off-by: Vinicius Peixoto <vinicius.peixoto@canonical.com>
Acked-by: Manuel Diewald <manuel.diewald@canonical.com>
Acked-by: Kevin Becker <kevin.becker@canonical.com>
Signed-off-by: Manuel Diewald <manuel.diewald@canonical.com>
2024-08-02 16:16:08 +02:00
Documentation ASoC: dt-bindings: rt5645: add cbj sleeve gpio property 2024-07-05 10:51:55 +02:00
LICENSES
arch sh: push-switch: Reorder cleanup operations to avoid use-after-free bug 2024-08-02 16:16:06 +02:00
block block: prevent division by zero in blk_rq_stat_sum() 2024-06-07 15:01:41 +02:00
certs certs/blacklist_hashes.c: fix const confusion in certs blacklist 2022-08-26 11:10:49 +02:00
crypto crypto: ecrdsa - Fix module auto-load on add_key 2024-07-05 10:52:03 +02:00
debian UBUNTU: [Packaging] Remove fips-checks script 2024-03-28 15:18:45 +01:00
debian.master UBUNTU: [Config] Set SPECTRE_BHI_ON=y 2024-08-02 16:16:06 +02:00
drivers scsi: qla2xxx: Fix double free of fcport 2024-08-02 16:16:07 +02:00
fs gfs2: Fix slab-use-after-free in gfs2_qd_dealloc 2024-08-02 16:16:06 +02:00
include skbuff: introduce skb_expand_head() 2024-08-02 16:16:07 +02:00
init init: open /initrd.image with O_LARGEFILE 2024-06-07 15:01:40 +02:00
ipc ipc: replace costly bailout check in sysvipc_find_ipc() 2023-02-24 14:01:18 +01:00
kernel kdb: Use format-specifiers rather than memset() for padding in kdb_read() 2024-07-05 10:52:03 +02:00
lib dyndbg: fix old BUG_ON in >control parser 2024-07-05 10:51:54 +02:00
mm x86/mm/pat: fix VM_PAT handling in COW mappings 2024-06-07 15:01:42 +02:00
net skb_expand_head() adjust skb->truesize incorrectly 2024-08-02 16:16:08 +02:00
samples media: rename VFL_TYPE_GRABBER to _VIDEO 2024-06-07 15:01:29 +02:00
scripts kconfig: fix comparison to constant symbols, 'm', 'n' 2024-07-05 10:52:02 +02:00
security smack: Handle SMACK64TRANSMUTE in smack_inode_setsecurity() 2024-06-07 15:01:32 +02:00
sound ALSA: timer: Set lower bound of start tick time 2024-07-05 10:52:02 +02:00
tools libsubcmd: Fix parse-options memory leak 2024-07-05 10:52:00 +02:00
ubuntu
usr
virt KVM: async_pf: Cleanup kvm_setup_async_pf() 2024-06-07 15:01:45 +02:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS iio: stx104: Move to addac subdirectory 2023-10-30 11:41:56 +01:00
Makefile Linux 5.4.278 2024-07-05 10:52:04 +02:00
README
Ubuntu.md
dropped.txt
snapcraft.yaml

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.