linux/drivers
Chintan Vankar fc2fffa2fa net: ethernet: ti: am65-cpsw-nuss: Fix skb size by accounting for skb_shared_info
[ Upstream commit 02c4d6c26f ]

While transitioning from netdev_alloc_ip_align() to build_skb(), memory
for the "skb_shared_info" member of an "skb" was not allocated. Fix this
by allocating "PAGE_SIZE" as the skb length, accounting for the packet
length, headroom and tailroom, thereby including the required memory space
for skb_shared_info.

Fixes: 8acacc40f7 ("net: ethernet: ti: am65-cpsw: Add minimal XDP support")
Reviewed-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Signed-off-by: Chintan Vankar <c-vankar@ti.com>
Link: https://patch.msgid.link/20250707085201.1898818-1-c-vankar@ti.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-07-17 18:37:07 +02:00
..
accel accel/ivpu: Trigger device recovery on engine reset/resume failure 2025-07-06 11:01:38 +02:00
accessibility treewide: remove unnecessary <linux/version.h> inclusion 2024-08-12 18:36:44 +09:00
acpi ACPICA: Refuse to evaluate a method if arguments are missing 2025-07-10 16:05:08 +02:00
amba ARM: 9416/1: amba: make amba_bustype constant 2024-09-04 15:01:17 +01:00
android binder: fix offset calculation in debug log 2025-05-09 09:50:29 +02:00
ata ata: pata_cs5536: fix build on 32-bit UML 2025-07-10 16:05:06 +02:00
atm atm: atmtcp: Free invalid length skb in atmtcp_c_send(). 2025-06-27 11:11:43 +01:00
auxdisplay auxdisplay: charlcd: Partially revert "Move hwidth and bwidth to struct hd44780_common" 2025-05-29 11:02:24 +02:00
base x86/bugs: Add a Transient Scheduler Attacks mitigation 2025-07-10 16:05:14 +02:00
bcma PCI: Rename CRS Completion Status to RRS 2024-09-10 19:52:30 -05:00
block aoe: defer rexmit timer downdev work to workqueue 2025-07-10 16:05:07 +02:00
bluetooth Bluetooth: btusb: Add new VID/PID 13d3/3630 for MT7925 2025-06-27 11:11:29 +01:00
bus Revert "bus: ti-sysc: Probe for l4_wkup and l4_cfg interconnect devices first" 2025-06-27 11:11:36 +01:00
cache cache: StarFive: Require a 64-bit system 2024-08-01 07:15:02 -07:00
cdrom cdrom: Avoid barrier_nospec() in cdrom_ioctl_media_changed() 2024-10-17 19:47:15 -06:00
cdx cdx: Fix possible UAF error in driver_override_show() 2025-03-13 13:02:15 +01:00
char char: tpm: tpm-buf: Add sanity check fallback in read helpers 2025-06-04 14:43:53 +02:00
clk clk: rockchip: rk3036: mark ddrphy as critical 2025-06-27 11:11:32 +01:00
clocksource clocksource: mips-gic-timer: Enable counter when CPUs start 2025-05-29 11:02:41 +02:00
comedi comedi: jr3_pci: Fix synchronous deletion of timer 2025-05-02 07:59:30 +02:00
connector connector/cn_proc: revert "connector: Fix proc_event_num_listeners count not cleared" 2024-02-13 11:15:44 +01:00
counter counter: interrupt-cnt: Protect enable/disable OPs with mutex 2025-06-19 15:32:12 +02:00
cpufreq cpufreq/amd-pstate: Add missing NULL ptr check in amd_pstate_update 2025-06-27 11:11:39 +01:00
cpuidle cpuidle: menu: Avoid discarding useful information 2025-05-29 11:02:38 +02:00
crypto crypto: zynqmp-sha - Add locking 2025-07-10 16:04:54 +02:00
cxl cxl/region: Add a dev_err() on missing target list entries 2025-07-06 11:01:32 +02:00
dax dax: delete a stale directory pmem 2024-12-05 14:02:13 +01:00
dca Driver core changes for 6.11-rc1 2024-07-25 10:42:22 -07:00
devfreq PM / devfreq: imx-bus: Use of_property_present() 2024-09-05 01:23:56 +09:00
dio dio: Have dio_bus_match() callback take a const * 2024-07-10 15:38:14 +02:00
dma dmaengine: xilinx_dma: Set dma_device directions 2025-07-06 11:01:33 +02:00
dma-buf dma-buf: fix timeout handling in dma_resv_wait_timeout v2 2025-07-10 16:05:12 +02:00
dpll dpll: Add an assertion to check freq_supported_num 2025-05-29 11:02:31 +02:00
edac EDAC/amd64: Fix size calculation for Non-Power-of-Two DIMMs 2025-07-06 11:01:42 +02:00
eisa driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00
extcon Char/Misc and other driver changes for 6.12-rc1 2024-09-26 10:13:08 -07:00
firewire firewire: test: Fix potential null dereference in firewire kunit test 2025-02-08 09:57:57 +01:00
firmware firmware: arm_ffa: Replace mutex with rwlock to avoid sleep in atomic context 2025-07-10 16:04:44 +02:00
fpga fpga: fix potential null pointer deref in fpga_mgr_test_img_load_sgt() 2025-06-19 15:32:13 +02:00
fsi move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
gnss [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
gpio gpio: mlxbf3: only get IRQ for device instance 0 2025-06-27 11:11:46 +01:00
gpu drm/amdgpu: Replace Mutex with Spinlock for RLCG register access to avoid Priority Inversion in SRIOV 2025-07-17 18:37:01 +02:00
greybus greybus: gb-beagleplay: Add error handling for gb_greybus_init 2025-04-10 14:39:22 +02:00
hid HID: wacom: fix kobject reference count leak 2025-07-06 11:01:44 +02:00
hsi HSI: ssi_protocol: Fix use after free vulnerability in ssi_protocol Driver Due to Race Condition 2025-04-20 10:16:02 +02:00
hte hte: tegra-194: add missing MODULE_DESCRIPTION() macro 2024-06-19 12:24:03 -07:00
hv Drivers: hv: Allocate interrupt and monitor pages aligned to system page boundary 2025-06-27 11:11:24 +01:00
hwmon hwmon: (pmbus/max34440) Fix support for max34451 2025-07-06 11:01:32 +02:00
hwspinlock hwspinlock: qcom: implement bust operation 2024-05-29 12:52:26 -07:00
hwtracing coresight: Only check bottom two claim bits 2025-07-06 11:01:34 +02:00
i2c i2c/designware: Fix an initialization issue 2025-07-10 16:05:12 +02:00
i3c i3c: master: svc: Fix implicit fallthrough in svc_i3c_master_ibi_work() 2025-05-29 11:03:26 +02:00
idle intel_idle: Handle older CPUs, which stop the TSC in deeper C states, correctly 2025-03-07 18:25:42 +01:00
iio iio: dac: ad3552r-common: fix ad3541/2r ranges 2025-07-06 11:01:49 +02:00
infiniband IB/mlx5: Fix potential deadlock in MR deregistration 2025-07-10 16:05:09 +02:00
input Input: iqs7222 - explicitly define number of external channels 2025-07-10 16:05:10 +02:00
interconnect interconnect: qcom: icc-rpmh: probe defer incase of missing QoS clock dependency 2024-12-05 14:02:37 +01:00
iommu iommu/rockchip: prevent iommus dead loop when two masters share one IOMMU 2025-07-10 16:05:12 +02:00
ipack driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00
irqchip irqchip/irq-msi-lib: Select CONFIG_GENERIC_MSI_IRQ 2025-07-17 18:37:03 +02:00
isdn move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
leds leds: multicolor: Fix intensity setting while SW blinking 2025-07-06 11:01:32 +02:00
macintosh move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
mailbox mailbox: Not protect module_put with spin_lock_irqsave 2025-07-06 11:01:32 +02:00
mcb mcb: fix a double free bug in chameleon_parse_gdd() 2025-05-02 07:59:08 +02:00
md dm-raid: fix variable in journal device check 2025-07-06 11:01:43 +02:00
media media: uvcvideo: Rollback non processed entities on error 2025-07-06 11:01:47 +02:00
memory memory: omap-gpmc: drop no compatible check 2025-04-10 14:39:31 +02:00
memstick memstick: rtsx_usb_ms: Fix slab-use-after-free in rtsx_usb_ms_drv_remove 2025-04-07 10:08:36 +02:00
message scsi: fusion: Remove unused variable 'rc' 2024-12-05 14:02:10 +01:00
mfd mfd: exynos-lpass: Fix another error handling path in exynos_lpass_probe() 2025-07-10 16:05:02 +02:00
misc misc: tps6594-pfsm: Add NULL pointer check in tps6594_pfsm_probe() 2025-07-06 11:01:35 +02:00
mmc mtk-sd: reset host->mrq on prepare_data() error 2025-07-10 16:04:44 +02:00
most Driver core changes for 6.11-rc1 2024-07-25 10:42:22 -07:00
mtd mtd: spinand: fix memory leak of ECC engine conf 2025-07-10 16:05:08 +02:00
mux mux: remove usage of the deprecated ida_simple_xx() API 2024-04-29 08:20:07 -07:00
net net: ethernet: ti: am65-cpsw-nuss: Fix skb size by accounting for skb_shared_info 2025-07-17 18:37:07 +02:00
nfc move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
ntb ntb_hw_amd: Add NTB PCI ID for new gen CPU 2025-05-02 07:59:20 +02:00
nubus nubus: Make nubus_bus_type static and constant 2024-01-03 13:33:59 +01:00
nvdimm libnvdimm/labels: Fix divide error in nd_label_data_init() 2025-05-29 11:02:09 +02:00
nvme nvmet: fix memory leak of bio integrity 2025-07-10 16:04:49 +02:00
nvmem nvmem: zynqmp_nvmem: unbreak driver after cleanup 2025-06-19 15:32:34 +02:00
of of: unittest: Unlock on error in unittest_data_add() 2025-06-19 15:31:48 +02:00
opp OPP: OF: Fix an OF node leak in _opp_add_static_v2() 2025-02-08 09:57:10 +01:00
parisc parisc: pdc_stable: Constify struct kobj_type 2024-09-09 08:53:17 +02:00
parport serial: 8250_pci: Share WCH IDs with parport_serial driver 2025-02-21 14:01:25 +01:00
pci PCI: apple: Set only available ports up 2025-07-06 11:01:37 +02:00
pcmcia move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
peci move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
perf perf/amlogic: Replace smp_processor_id() with raw_smp_processor_id() in meson_ddr_pmu_create() 2025-06-19 15:31:38 +02:00
phy phy: fsl-imx8mq-usb: fix phy_tx_vboost_level_from_property() 2025-06-27 11:11:23 +01:00
pinctrl pinctrl: amd: Clear GPIO debounce for suspend 2025-07-17 18:37:04 +02:00
platform platform/x86: think-lmi: Fix sysfs group cleanup 2025-07-10 16:05:13 +02:00
pmdomain pmdomain: core: Reset genpd->states to avoid freeing invalid data 2025-06-27 11:11:27 +01:00
pnp driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00
power power: supply: max17040: adjust thermal channel scaling 2025-06-27 11:11:28 +01:00
powercap powercap: intel_rapl: Do not change CLAMPING bit if ENABLE bit cannot be changed 2025-07-10 16:05:12 +02:00
pps pps: Fix a use-after-free 2025-02-08 09:58:16 +01:00
ps3 driver/ps3: Include <video/cmdline.h> for mode parsing 2023-02-20 14:56:51 +01:00
ptp ptp: allow reading of currently dialed frequency to succeed on free-running clocks 2025-06-27 11:11:43 +01:00
pwm pwm: axi-pwmgen: fix missing separate external clock 2025-06-27 11:11:23 +01:00
rapidio drivers/rapidio/rio_cm.c: prevent possible heap overwrite 2025-06-27 11:11:36 +01:00
ras RAS/AMD/FMPM: Get masked address 2025-04-25 10:47:56 +02:00
regulator regulator: fan53555: add enable_time support and soft-start times 2025-07-10 16:05:07 +02:00
remoteproc remoteproc: k3-r5: Refactor sequential core power up/down operations 2025-07-10 16:05:02 +02:00
reset reset: rzg2l-usbphy-ctrl: Assign proper of node to the allocated device 2025-01-23 17:22:52 +01:00
rpmsg rpmsg: qcom_smd: Fix uninitialized return variable in __qcom_smd_send() 2025-06-19 15:32:06 +02:00
rtc rtc: cmos: use spin_lock_irqsave in cmos_interrupt 2025-07-10 16:04:41 +02:00
s390 s390/pkey: Prevent overflow in size calculation for memdup_user() 2025-07-06 11:01:38 +02:00
sbus [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
scsi scsi: lpfc: Restore clearing of NLP_UNREG_INP in ndlp->nlp_flag 2025-07-10 16:05:05 +02:00
sh sh: intc: Fix use-after-free bug in register_intc_controller() 2024-12-05 14:03:10 +01:00
siox Driver core changes for 6.11-rc1 2024-07-25 10:42:22 -07:00
slimbus slimbus: messaging: Free transaction ID in delayed interrupt scenario 2025-03-13 13:02:16 +01:00
soc soc: qcom: pmic_glink_altmode: fix spurious DP hotplug events 2025-06-27 11:11:22 +01:00
soundwire soundwire: bus: Fix race on the creation of the IRQ domain 2025-05-29 11:03:13 +02:00
spi spi: spi-fsl-dspi: Clear completion counter before initiating transfer 2025-07-10 16:04:49 +02:00
spmi spmi: pmic-arb: fix return path in for_each_available_child_of_node() 2024-12-09 10:41:03 +01:00
ssb driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00
staging staging: rtl8723bs: Avoid memset() in aes_cipher() and aes_decipher() 2025-07-06 11:01:42 +02:00
target scsi: target: Fix NULL pointer dereference in core_scsi3_decode_spec_i_port() 2025-07-10 16:05:07 +02:00
tc driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00
tee optee: ffa: fix sleep in atomic context 2025-07-10 16:05:12 +02:00
thermal thermal/drivers/mediatek/lvts: Remove unused lvts_debugfs_exit 2025-06-19 15:32:38 +02:00
thunderbolt thunderbolt: Fix a logic error in wake on connect 2025-06-19 15:32:11 +02:00
tty serial: imx: Restore original RXTL for console to fix data loss 2025-07-06 11:01:43 +02:00
ufs scsi: ufs: core: Fix spelling of a sysfs attribute name 2025-07-10 16:04:46 +02:00
uio uio_hv_generic: Align ring size to system page 2025-06-27 11:11:25 +01:00
usb usb: typec: displayport: Fix potential deadlock 2025-07-10 16:05:13 +02:00
vdpa vdpa/mlx5: Fix mlx5_vdpa_get_config() endianness on big-endian machines 2025-05-29 11:02:38 +02:00
vfio hisi_acc_vfio_pci: bugfix the problem of uninstalling driver 2025-07-10 16:05:00 +02:00
vhost vhost-scsi: Return queue full for page alloc failures during copy 2025-05-29 11:02:38 +02:00
video fbcon: Make sure modelist not set on unregistered console 2025-06-27 11:11:35 +01:00
virt configfs-tsm-report: Fix NULL dereference of tsm_ops 2025-06-27 11:11:22 +01:00
virtio virtio_ring: Fix data race by tagging event_triggered as racy for KCSAN 2025-05-29 11:01:58 +02:00
w1 w1: fix NULL pointer dereference in probe 2025-04-10 14:39:22 +02:00
watchdog watchdog: da9052_wdt: respect TWDMIN 2025-06-27 11:11:35 +01:00
xen xen/x86: fix initial memory balloon target 2025-06-19 15:31:40 +02:00
zorro Driver core changes for 6.11-rc1 2024-07-25 10:42:22 -07:00
Kconfig - removed AR7 platform support 2023-11-10 09:19:46 -08:00
Makefile leds: Init leds class earlier 2024-09-04 17:24:58 -05:00