linux-stable/include/linux
Hou Tao 62fca83303 bpf: Defer the free of inner map when necessary
[ Upstream commit 8766733641 ]

When updating or deleting an inner map in map array or map htab, the map
may still be accessed by non-sleepable program or sleepable program.
However bpf_map_fd_put_ptr() decreases the ref-counter of the inner map
directly through bpf_map_put(), if the ref-counter is the last one
(which is true for most cases), the inner map will be freed by
ops->map_free() in a kworker. But for now, most .map_free() callbacks
don't use synchronize_rcu() or its variants to wait for the elapse of a
RCU grace period, so after the invocation of ops->map_free completes,
the bpf program which is accessing the inner map may incur
use-after-free problem.

Fix the free of inner map by invoking bpf_map_free_deferred() after both
one RCU grace period and one tasks trace RCU grace period if the inner
map has been removed from the outer map before. The deferment is
accomplished by using call_rcu() or call_rcu_tasks_trace() when
releasing the last ref-counter of bpf map. The newly-added rcu_head
field in bpf_map shares the same storage space with work field to
reduce the size of bpf_map.

Fixes: bba1dc0b55 ("bpf: Remove redundant synchronize_rcu.")
Fixes: 638e4b825d ("bpf: Allows per-cpu maps and map-in-map in sleepable programs")
Signed-off-by: Hou Tao <houtao1@huawei.com>
Link: https://lore.kernel.org/r/20231204140425.1480317-5-houtao@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-25 15:27:26 -08:00
..
amba
atomic
avf
bcma
byteorder
can can: length: fix bitstuffing count 2023-07-19 16:21:11 +02:00
ceph
clk
comedi
crush
decompress
device
dma
dsa net: dsa: sja1105: always enable the send_meta options 2023-07-19 16:22:06 +02:00
extcon
firmware
fpga
fsl
gpio gpiolib: Fix irq_domain resource tracking for gpiochip_irqchip_add_domain() 2023-06-28 11:12:35 +02:00
greybus
hsi
i3c
iio iio: core: introduce iio_device_{claim|release}_buffer_mode() APIs 2023-10-25 12:03:09 +02:00
input
irqchip
isdn
lockd lockd: set file_lock start and end when decoding nlm4 testargs 2023-03-30 12:49:23 +02:00
mailbox mailbox: zynqmp: Fix typo in IPI documentation 2023-05-11 23:03:40 +09:00
mdio net: dsa: seville: ignore mscc-miim read errors from Lynx PCS 2023-03-11 13:55:28 +01:00
mfd mfd: core: Un-constify mfd_cell.of_reg 2023-11-20 11:52:08 +01:00
mlx4 net/mlx4_en: Introduce flexible array to silence overflow warning 2023-03-10 09:33:08 +01:00
mlx5 net/mlx5: Re-organize mlx5_cmd struct 2024-01-01 12:38:55 +00:00
mmc mmc: core: add helpers mmc_regulator_enable/disable_vqmmc 2023-12-08 08:51:19 +01:00
mtd
mux
net/intel
netfilter netfilter: handle the connecting collision properly in nf_conntrack_proto_sctp 2023-10-10 22:00:43 +02:00
netfilter_arp
netfilter_bridge
netfilter_ipv4
netfilter_ipv6
pcs
perf
phy
pinctrl
platform_data
power power: supply: bq27xxx: Ensure power_supply_changed() is called on current sign changes 2023-05-30 14:03:21 +01:00
pse-pd
qed
raid
regulator regulator: mt6358: Drop *_SSHUB regulators 2023-10-10 22:00:40 +02:00
remoteproc
reset
rpmsg
rtc
sched kernel/fork: beware of __put_task_struct() calling context 2023-09-23 11:11:00 +02:00
soc EDAC/qcom: Get rid of hardcoded register offsets 2023-06-21 16:00:51 +02:00
soundwire
spi spi: Constify spi parameters of chip select APIs 2024-01-05 15:18:40 +01:00
ssb
sunrpc SUNRPC: Fix RPC client cleaned up the freed pipefs dentries 2023-11-28 17:07:04 +00:00
surface_aggregator
ulpi
unaligned
usb r8152: add vendor/device ID pair for ASUS USB-C2500 2023-12-20 17:00:14 +01:00
8250_pci.h
acct.h
acpi.h
acpi_agdi.h
acpi_dma.h
acpi_iort.h perf/smmuv3: Enable HiSilicon Erratum 162001900 quirk for HIP08/09 2023-09-23 11:11:00 +02:00
acpi_mdio.h net: mdio: fix owner field for mdio buses registered using ACPI 2023-03-30 12:49:05 +02:00
acpi_pmtmr.h
acpi_viot.h
adb.h
adfs_fs.h
adreno-smmu-priv.h
adxl.h
aer.h
agp_backend.h
agpgart.h
ahci-remap.h
ahci_platform.h
aio.h
alarmtimer.h
alcor_pci.h
align.h
altera_jtaguart.h
altera_uart.h
amd-iommu.h
amd-pstate.h
anon_inodes.h
aperture.h
apm-emulation.h
apm_bios.h
apple-gmux.h
apple-mailbox.h
apple_bl.h
arch_topology.h
arm-cci.h
arm-smccc.h irqchip/gicv3: Workaround for NVIDIA erratum T241-FABRIC-4 2023-05-24 17:32:36 +01:00
arm_ffa.h firmware: arm_ffa: Fix FFA device names for logical partitions 2023-05-30 14:03:22 +01:00
arm_sdei.h arm64: sdei: abort running SDEI handlers during crash 2023-09-13 09:43:03 +02:00
armada-37xx-rwtm-mailbox.h
ascii85.h
asn1.h
asn1_ber_bytecode.h
asn1_decoder.h
asn1_encoder.h
assoc_array.h
assoc_array_priv.h
async.h
async_tx.h
ata.h
ata_platform.h
atalk.h
ath9k_platform.h
atm.h
atm_tcp.h
atmdev.h
atmel-isc-media.h
atmel-mci.h
atmel-ssc.h
atmel_pdc.h
atomic.h
attribute_container.h
audit.h
audit_arch.h
auto_dev-ioctl.h
auto_fs.h
auxiliary_bus.h
auxvec.h
average.h
backing-dev-defs.h
backing-dev.h
backlight.h
badblocks.h
balloon_compaction.h
base64.h
bcd.h
bch.h
bcm47xx_nvram.h
bcm47xx_sprom.h
bcm47xx_wdt.h
bcm963xx_nvram.h
bcm963xx_tag.h
binfmts.h
bio.h
bit_spinlock.h
bitfield.h
bitmap.h lib/bitmap: drop optimization of bitmap_{from,to}_arr64 2023-07-19 16:21:58 +02:00
bitops.h
bitrev.h
bits.h
blk-cgroup.h
blk-crypto-profile.h blk-crypto: use dynamic lock class for blk_crypto_profile::lock 2023-07-23 13:49:21 +02:00
blk-crypto.h blk-crypto: make blk_crypto_evict_key() return void 2023-05-11 23:03:00 +09:00
blk-integrity.h
blk-mq-pci.h
blk-mq-rdma.h
blk-mq-virtio.h
blk-mq.h blk-mq: fix potential io hang by wrong 'wake_batch' 2023-07-19 16:20:55 +02:00
blk-pm.h
blk_types.h
blkdev.h block: renumber QUEUE_FLAG_HW_WC 2024-01-05 15:18:38 +01:00
blkpg.h
blktrace_api.h blktrace: use inline function for blk_trace_remove() while blktrace is disabled 2023-07-19 16:22:15 +02:00
blockgroup_lock.h
bma150.h
bootconfig.h bootconfig: Increase max nodes of bootconfig from 1024 to 8192 for DCC support 2023-03-11 13:55:32 +01:00
bootmem_info.h bootmem: remove the vmemmap pages from kmemleak in free_bootmem_page 2023-07-19 16:21:17 +02:00
bottom_half.h
bpf-cgroup-defs.h
bpf-cgroup.h
bpf-netns.h
bpf.h bpf: Defer the free of inner map when necessary 2024-01-25 15:27:26 -08:00
bpf_lirc.h
bpf_local_storage.h
bpf_lsm.h
bpf_mem_alloc.h
bpf_trace.h
bpf_types.h
bpf_verifier.h bpf: decouple prune and jump points 2024-01-10 17:10:29 +01:00
bpfilter.h
bpfptr.h
brcmphy.h
bsearch.h
bsg-lib.h
bsg.h
btf.h
btf_ids.h bpf: Fix BTF_ID symbol generation collision 2023-10-06 14:57:04 +02:00
btree-128.h
btree-type.h
btree.h
btrfs.h
buffer_head.h
bug.h
build-salt.h
build_bug.h
buildid.h
bvec.h block: factor out a bvec_set_page helper 2023-09-23 11:11:08 +02:00
c2port.h
cache.h
cacheflush.h
cacheinfo.h
capability.h
cb710.h
cc_platform.h
cciss_ioctl.h
ccp.h
cdev.h
cdrom.h
cfag12864b.h
cfi.h
cfi_types.h
cgroup-defs.h
cgroup.h
cgroup_api.h
cgroup_rdma.h
cgroup_subsys.h
circ_buf.h
clk-provider.h clk: linux/clk-provider.h: fix kernel-doc warnings and typos 2023-11-20 11:51:56 +01:00
clk.h clk: Fix undefined reference to `clk_rate_exclusive_{get,put}' 2023-08-30 16:11:12 +02:00
clkdev.h
clockchips.h
clocksource.h
clocksource_ids.h
cm4000_cs.h
cma.h
cn_proc.h
cnt32_to_63.h
coda.h
compaction.h
compat.h
compiler-clang.h
compiler-gcc.h
compiler-intel.h
compiler-version.h
compiler.h
compiler_attributes.h
compiler_types.h
completion.h
component.h
configfs.h
connector.h
console.h
console_struct.h
consolemap.h
const.h
container.h
container_of.h
context_tracking.h entry: Fix noinstr warning in __enter_from_user_mode() 2023-03-30 12:49:13 +02:00
context_tracking_irq.h
context_tracking_state.h entry: Fix noinstr warning in __enter_from_user_mode() 2023-03-30 12:49:13 +02:00
cookie.h
cordic.h
coredump.h
coresight-pmu.h
coresight-stm.h
coresight.h
count_zeros.h
counter.h
cper.h
cpu.h x86/speculation: Add cpu_show_gds() prototype 2023-08-16 18:27:25 +02:00
cpu_cooling.h
cpu_pm.h
cpu_rmap.h
cpufeature.h
cpufreq.h
cpuhotplug.h hrtimers: Push pending hrtimers away from outgoing CPU earlier 2023-12-13 18:39:03 +01:00
cpuidle.h
cpuidle_haltpoll.h
cpumask.h
cpumask_api.h
cpuset.h sched/cpuset: Keep track of SCHED_DEADLINE task in cpusets 2023-08-30 16:11:10 +02:00
crash_core.h
crash_dump.h
crc-ccitt.h
crc-itu-t.h
crc-t10dif.h
crc4.h
crc7.h
crc8.h
crc16.h
crc32.h
crc32c.h
crc32poly.h
crc64.h
cred.h cred: switch to using atomic_long_t 2023-12-20 17:00:20 +01:00
crypto.h crypto: api - Add scaffolding to change completion function signature 2023-05-17 11:53:40 +02:00
cs5535.h
ctype.h
cuda.h
damon.h mm/damon/core: make damon_start() waits until kdamond_fn() starts 2024-01-01 12:39:08 +00:00
dasd_mod.h
davinci_emac.h
dax.h
dca.h
dcache.h
dccp.h
debug_locks.h
debugfs.h
debugobjects.h
delay.h
delayacct.h
delayed_call.h
dev_printk.h
devcoredump.h
devfreq-event.h
devfreq.h
devfreq_cooling.h
device-mapper.h dm: change "unsigned" to "unsigned int" 2023-04-13 16:55:17 +02:00
device.h driver core: fw_devlink: Add DL_FLAG_CYCLE support to device links 2023-03-10 09:33:37 +01:00
device_cgroup.h
devm-helpers.h
devpts_fs.h
dfl.h
digsig.h
dim.h linux/dim: Do nothing if no time delta between samples 2023-05-24 17:32:31 +01:00
dio.h
dirent.h
dlm.h
dlm_plock.h
dm-bufio.h dm thin metadata: Fix ABBA deadlock by resetting dm_bufio_client 2024-01-01 12:39:05 +00:00
dm-dirty-log.h dm: change "unsigned" to "unsigned int" 2023-04-13 16:55:17 +02:00
dm-io.h dm: change "unsigned" to "unsigned int" 2023-04-13 16:55:17 +02:00
dm-kcopyd.h dm: change "unsigned" to "unsigned int" 2023-04-13 16:55:17 +02:00
dm-region-hash.h dm: change "unsigned" to "unsigned int" 2023-04-13 16:55:17 +02:00
dm-verity-loadpin.h
dm9000.h
dma-buf.h dma-buf: Add unlocked variant of attachment-mapping functions 2023-09-23 11:11:08 +02:00
dma-direct.h
dma-direction.h
dma-fence-array.h
dma-fence-chain.h
dma-fence-unwrap.h
dma-fence.h dma-buf: fix check in dma_resv_add_fence 2023-12-08 08:51:15 +01:00
dma-heap.h
dma-map-ops.h
dma-mapping.h
dma-resv.h
dmaengine.h
dmapool.h
dmar.h
dmi.h
dnotify.h
dns_resolver.h
dqblk_qtree.h
dqblk_v1.h
dqblk_v2.h
drbd.h
drbd_genl.h
drbd_genl_api.h
drbd_limits.h
ds2782_battery.h
dtlk.h
dtpm.h
dw_apb_timer.h
dynamic_debug.h
dynamic_queue_limits.h
earlycpio.h
ecryptfs.h
edac.h
edd.h
eeprom_93cx6.h
eeprom_93xx46.h
efi-bgrt.h
efi.h
efi_embedded_fw.h
efs_vh.h
eisa.h
elf-fdpic.h
elf-randomize.h
elf.h
elfcore-compat.h
elfcore.h
elfnote-lto.h
elfnote.h
enclosure.h
energy_model.h
entry-common.h
entry-kvm.h
err.h
errname.h
errno.h
error-injection.h
errqueue.h
errseq.h
etherdevice.h
ethtool.h net: ethtool: Fix documentation of ethtool_sprintf() 2023-11-28 17:07:18 +00:00
ethtool_netlink.h
eventfd.h
eventpoll.h
evm.h
export-internal.h linux/export: Ensure natural alignment of kcrctab array 2024-01-05 15:18:38 +01:00
export.h
exportfs.h
ext2_fs.h
extable.h
extcon-provider.h
extcon.h
f2fs_fs.h f2fs: convert to use bitmap API 2024-01-10 17:10:30 +01:00
f75375s.h
falloc.h
fanotify.h
fault-inject-usercopy.h
fault-inject.h
fb.h fbdev: Fix incorrect page mapping clearance at fb_deferred_io_release() 2023-03-22 13:34:04 +01:00
fbcon.h
fcdevice.h
fcntl.h
fd.h
fddidevice.h
fdtable.h
fec.h
fiemap.h
file.h
fileattr.h
filter.h
find.h
fips.h
firewire.h
firmware-map.h
firmware.h
fixp-arith.h
flat.h
flex_proportions.h
font.h
fortify-string.h
fprobe.h fprobe: Add nr_maxactive to specify rethook_node pool size 2023-10-25 12:03:12 +02:00
freelist.h
freezer.h
frontswap.h
fs.h splice, net: Add a splice_eof op to file-ops and socket-ops 2024-01-10 17:10:27 +01:00
fs_api.h
fs_context.h
fs_enet_pd.h
fs_parser.h
fs_pin.h
fs_stack.h
fs_struct.h
fs_types.h
fs_uart_pd.h
fscache-cache.h
fscache.h
fscrypt.h
fsi-occ.h
fsi-sbefifo.h
fsi.h
fsl-diu-fb.h
fsl_devices.h
fsl_hypervisor.h
fsl_ifc.h
fsldma.h
fsnotify.h
fsnotify_backend.h
fsverity.h
ftrace.h ftrace: Mark get_lock_parent_ip() __always_inline 2023-04-13 16:55:32 +02:00
ftrace_irq.h
futex.h
fwnode.h driver core: fw_devlink: Consolidate device link flag computation 2023-03-10 09:33:37 +01:00
fwnode_mdio.h
gameport.h
gcd.h
genalloc.h
generic-radix-tree.h lib/generic-radix-tree.c: Don't overflow in peek() 2023-11-28 17:06:54 +00:00
genetlink.h
genl_magic_func.h
genl_magic_struct.h
getcpu.h
gfp.h
gfp_api.h
gfp_types.h
glob.h
gnss.h
goldfish.h
gpio-pxa.h
gpio.h
gpio_keys.h
greybus.h
group_cpus.h genirq/affinity: Move group_cpus_evenly() into lib/ 2024-01-10 17:10:33 +01:00
hardirq.h
hash.h
hashtable.h
hashtable_api.h
hdlc.h
hdlcdrv.h
hdmi.h
hid-debug.h
hid-roccat.h
hid-sensor-hub.h
hid-sensor-ids.h
hid.h HID: fix HID device resource race between HID core and debugging support 2023-12-03 07:32:07 +01:00
hidden.h
hiddev.h
hidraw.h
highmem-internal.h
highmem.h mm, hwpoison: try to recover from copy-on write faults 2023-07-01 13:16:22 +02:00
highuid.h
hil.h
hil_mlc.h
hippidevice.h
hisi_acc_qm.h crypto: hisilicon/qm - add a function to set qm algs 2024-01-25 15:27:22 -08:00
hmm.h
host1x.h
host1x_context_bus.h
hp_sdc.h
hpet.h
hrtimer.h hrtimers: Push pending hrtimers away from outgoing CPU earlier 2023-12-13 18:39:03 +01:00
hrtimer_api.h
hrtimer_defs.h
htcpld.h
hte.h
huge_mm.h
hugetlb.h hugetlb: fix null-ptr-deref in hugetlb_vma_lock_write 2023-12-13 18:39:20 +01:00
hugetlb_cgroup.h
hugetlb_inline.h
hw_breakpoint.h
hw_random.h hwrng: bcm2835 - Fix hwrng throughput regression 2023-11-20 11:52:04 +01:00
hwmon-sysfs.h
hwmon-vid.h
hwmon.h
hwspinlock.h
hyperv.h
hypervisor.h
i2c-algo-bit.h
i2c-algo-pca.h
i2c-algo-pcf.h
i2c-dev.h
i2c-mux.h
i2c-smbus.h
i2c.h
i8042.h
i8253.h
icmp.h
icmpv6.h
idle_inject.h
idr.h Fix termination state for idr_for_each_entry_ul() 2023-11-20 11:52:16 +01:00
ieee80211.h wifi: avoid offset calculation on NULL pointer 2024-01-20 11:50:03 +01:00
ieee802154.h
if_arp.h net: handle ARPHRD_PPP in dev_is_mac_header_xmit() 2023-09-13 09:43:03 +02:00
if_bridge.h
if_eql.h
if_ether.h
if_fddi.h
if_hsr.h
if_link.h
if_ltalk.h
if_macvlan.h
if_phonet.h
if_pppol2tp.h
if_pppox.h
if_rmnet.h
if_tap.h
if_team.h team: fix null-ptr-deref when team device type is changed 2023-10-06 14:56:41 +02:00
if_tun.h
if_tunnel.h
if_vlan.h net: vlan: introduce skb_vlan_eth_hdr() 2023-12-20 17:00:16 +01:00
igmp.h
ihex.h
ima.h ima: Align ima_file_mmap() parameters with mmap_file LSM hook 2023-03-10 09:34:15 +01:00
imx-media.h
in.h
in6.h
indirect_call_wrapper.h
inet.h
inet_diag.h
inetdevice.h
init.h
init_ohci1394_dma.h
init_syscalls.h
init_task.h
initrd.h
inotify.h
input.h
instruction_pointer.h x86/ibt: Suppress spurious ENDBR 2023-09-23 11:11:09 +02:00
instrumentation.h
instrumented.h
integrity.h
intel-ish-client-if.h
intel-svm.h
intel_rapl.h
intel_th.h
interconnect-provider.h interconnect: fix provider registration API 2023-03-22 13:33:57 +01:00
interconnect.h
interrupt.h timers: Tag (hr)timer softirq as hotplug safe 2023-10-06 14:57:03 +02:00
interval_tree.h
interval_tree_generic.h
io-64-nonatomic-hi-lo.h
io-64-nonatomic-lo-hi.h
io-mapping.h
io-pgtable.h
io.h
io_uring.h block/io_uring: pass in issue_flags for uring_cmd task_work handling 2023-04-06 12:10:51 +02:00
io_uring_types.h
ioam6.h
ioam6_genl.h
ioam6_iptunnel.h
ioasid.h
iocontext.h
iomap.h
iommu-helper.h
iommu.h iommu: Avoid more races around device probe 2023-12-13 18:39:17 +01:00
iopoll.h iopoll: Call cpu_relax() in busy loops 2023-08-23 17:52:20 +02:00
ioport.h PCI: Allow drivers to request exclusive config regions 2023-09-13 09:42:46 +02:00
ioprio.h
iosys-map.h
iova.h
iova_bitmap.h
ip.h net: add a couple of helpers for iph tot_len 2023-07-19 16:22:00 +02:00
ipack.h
ipc.h
ipc_namespace.h
ipmi.h
ipmi_smi.h
ipv6.h net: change accept_ra_min_rtr_lft to affect all RA lifetimes 2023-10-10 22:00:37 +02:00
ipv6_route.h
irq.h x86/apic/msi: Fix misconfigured non-maskable MSI quirk 2023-12-08 08:51:20 +01:00
irq_poll.h
irq_sim.h
irq_work.h
irqbypass.h
irqchip.h
irqdesc.h
irqdomain.h
irqflags.h
irqhandler.h
irqnr.h
irqreturn.h
isa-dma.h
isa.h
isapnp.h
iscsi_boot_sysfs.h
iscsi_ibft.h
iversion.h
jbd2.h jbd2: increase the journal IO's priority 2024-01-20 11:50:06 +01:00
jhash.h
jiffies.h
journal-head.h
joystick.h
jump_label.h
jump_label_ratelimit.h
jz4740-adc.h
jz4780-nemc.h
kallsyms.h kallsyms: Add helper kallsyms_on_each_match_symbol() 2023-10-25 12:03:16 +02:00
kasan-checks.h
kasan-enabled.h
kasan-tags.h
kasan.h kasan: disable kasan_non_canonical_hook() for HW tags 2024-01-01 12:38:52 +00:00
kbd_diacr.h
kbd_kern.h
kbuild.h
kconfig.h
kcore.h
kcov.h
kcsan-checks.h
kcsan.h
kdb.h
kdebug.h
kdev_t.h
kern_levels.h
kernel-page-flags.h
kernel.h
kernel_read_file.h
kernel_stat.h
kernelcapi.h
kernfs.h kernfs: add stub helper for kernfs_generic_poll() 2023-09-13 09:42:53 +02:00
kexec.h
key-type.h keys, dns: Allow key types (eg. DNS) to be reclaimed immediately on expiry 2024-01-01 12:38:58 +00:00
key.h
keyboard.h
keyctl.h
kfence.h
kfifo.h
kgdb.h
khugepaged.h
klist.h
kmemleak.h
kmod.h
kmsan-checks.h
kmsan.h mm: kmsan: handle alloc failures in kmsan_vmap_pages_range_noflush() 2023-04-26 14:28:41 +02:00
kmsan_string.h
kmsan_types.h
kmsg_dump.h
kobj_map.h
kobject.h kobject: modify kobject_get_path() to take a const * 2023-03-10 09:33:29 +01:00
kobject_api.h
kobject_ns.h
kprobes.h kprobes: consistent rcu api usage for kretprobe holder 2023-12-13 18:39:17 +01:00
kref.h
kref_api.h
ks0108.h
ks8842.h
ks8851_mll.h
ksm.h
kstrtox.h
kthread.h
ktime.h
ktime_api.h
kvm_dirty_ring.h
kvm_host.h
kvm_irqfd.h
kvm_para.h
kvm_types.h
l2tp.h
lantiq.h
lapb.h
latencytop.h
lcd.h
lcm.h
led-class-flash.h
led-class-multicolor.h
led-lm3530.h
leds-bd2802.h
leds-lp3944.h
leds-lp3952.h
leds-pca9532.h
leds-regulator.h
leds-ti-lmu-common.h
leds.h
libata.h ata: libata-scsi: Disable scsi device manage_system_start_stop 2023-10-19 23:08:50 +02:00
libfdt.h
libfdt_env.h
libgcc.h
libnvdimm.h cxl/pmem: Fix nvdimm registration races 2023-03-10 09:34:20 +01:00
libps2.h
license.h
limits.h
linear_range.h
linkage.h
linkmode.h
linux_logo.h
lis3lv02d.h
list.h
list_bl.h
list_lru.h
list_nulls.h
list_sort.h
litex.h
livepatch.h
llc.h
llist.h
llist_api.h
local_lock.h
local_lock_internal.h
lockdep.h
lockdep_api.h
lockdep_types.h
lockref.h
log2.h
logic_iomem.h
logic_pio.h
lp.h
lru_cache.h
lsm_audit.h
lsm_hook_defs.h lsm: fix default return value for inode_getsecctx 2023-11-28 17:07:18 +00:00
lsm_hooks.h
lz4.h
lzo.h
mailbox_client.h
mailbox_controller.h
map_benchmark.h
maple.h
maple_tree.h
marvell_phy.h
math.h
math64.h
mbcache.h
mbus.h
mc6821.h
mc146818rtc.h
mcb.h mcb: remove is_added flag from mcb_device struct 2023-10-19 23:08:56 +02:00
mdev.h
mdio-bitbang.h
mdio-gpio.h
mdio-mux.h
mdio.h
mei_aux.h
mei_cl_bus.h
mem_encrypt.h
memblock.h
memcontrol.h mm: memcontrol: fix GFP_NOFS recursion in memory.high enforcement 2023-10-06 14:57:03 +02:00
memfd.h
memory-tiers.h
memory.h
memory_hotplug.h
mempolicy.h
mempool.h
memregion.h
memremap.h
memstick.h
mhi.h
mhi_ep.h bus: mhi: ep: Change state_lock to mutex 2023-03-17 08:50:19 +01:00
micrel_phy.h net: phy: micrel: Correct bit assignments for phy_device flags 2023-09-19 12:28:02 +02:00
microchipphy.h
migrate.h
migrate_mode.h
mii.h
mii_timestamper.h
min_heap.h
minmax.h
misc_cgroup.h
miscdevice.h
mISDNdsp.h
mISDNhw.h
mISDNif.h
mm.h mm/memory: add vm_normal_folio() 2023-10-10 22:00:35 +02:00
mm_api.h
mm_inline.h mm/mglru: fix underprotected page cache 2023-12-20 17:00:26 +01:00
mm_types.h mm: enable maple tree RCU mode by default. 2023-04-13 16:55:40 +02:00
mm_types_task.h
mman.h
mmap_lock.h
mmdebug.h
mmiotrace.h
mmu_context.h
mmu_notifier.h
mmzone.h mm: multi-gen LRU: rename lrugen->lists[] to lrugen->folios[] 2023-09-19 12:27:54 +02:00
mnt_idmapping.h
mnt_namespace.h
mod_devicetable.h
module.h kallsyms: Make module_kallsyms_on_each_symbol generally available 2024-01-05 15:18:40 +01:00
module_signature.h
moduleloader.h module: Expose module_init_layout_section() 2023-09-02 09:16:18 +02:00
moduleparam.h
most.h
mount.h
moxtet.h
mpage.h
mpi.h
mpls.h
mpls_iptunnel.h
mroute.h
mroute6.h
mroute_base.h
msdos_fs.h
msdos_partition.h
msg.h
msi.h x86/pci/xen: populate MSI sysfs entries 2023-05-30 14:03:22 +01:00
mtio.h
mutex.h
mutex_api.h
mv643xx.h
mv643xx_eth.h
mv643xx_i2c.h
mvebu-pmsu.h
mxm-wmi.h
namei.h ksmbd: fix racy issue from using ->d_parent and ->d_name 2024-01-05 15:18:29 +01:00
nd.h
ndctl.h
net.h splice, net: Add a splice_eof op to file-ops and socket-ops 2024-01-10 17:10:27 +01:00
netdev_features.h
netdevice.h net: add DEV_STATS_READ() helper 2023-11-20 11:51:55 +01:00
netfilter.h netfilter: ctnetlink: make event listener tracking global 2023-03-11 13:55:24 +01:00
netfilter_bridge.h
netfilter_defs.h
netfilter_ipv4.h
netfilter_ipv6.h
netfilter_netdev.h
netfs.h
netlink.h
netpoll.h
nfs.h
nfs3.h
nfs4.h
nfs_fs.h
nfs_fs_i.h
nfs_fs_sb.h NFSv4.1: fix pnfs MDS=DS session trunking 2023-10-06 14:56:31 +02:00
nfs_iostat.h
nfs_page.h Revert "NFS: Use the correct commit info in nfs_join_page_group()" 2023-10-15 18:32:41 +02:00
nfs_ssc.h NFSD: enhance inter-server copy cleanup 2023-03-10 09:33:24 +01:00
nfs_xdr.h NFSv4.2: Rework scratch handling for READ_PLUS 2023-09-13 09:42:48 +02:00
nfsacl.h
nitro_enclaves.h
nl802154.h
nls.h fs/nls: make load_nls() take a const parameter 2023-09-13 09:42:22 +02:00
nmi.h watchdog/perf: define dummy watchdog_update_hrtimer_threshold() on correct config 2023-07-19 16:21:08 +02:00
node.h
nodemask.h
nospec.h
notifier.h
ns_common.h
nsc_gpio.h
nsproxy.h
ntb.h
ntb_transport.h
nubus.h
numa.h x86/numa: Introduce numa_fill_memblks() 2023-11-20 11:51:50 +01:00
nvme-auth.h
nvme-fc-driver.h
nvme-fc.h
nvme-rdma.h
nvme-tcp.h nvme-tcp: fix nvme_tcp_term_pdu to match spec 2023-03-30 12:49:09 +02:00
nvme.h nvme: fix the NVME_ID_NS_NVM_STS_MASK definition 2023-07-23 13:49:25 +02:00
nvmem-consumer.h
nvmem-provider.h
nvram.h
objagg.h
objtool.h
of.h of: Add of_property_present() helper 2024-01-25 15:27:20 -08:00
of_address.h
of_clk.h
of_device.h
of_dma.h
of_fdt.h
of_gpio.h
of_graph.h
of_iommu.h
of_irq.h
of_mdio.h net: mdio: fix owner field for mdio buses registered using device-tree 2023-03-30 12:49:05 +02:00
of_net.h
of_pci.h
of_pdt.h
of_platform.h
of_reserved_mem.h
oid_registry.h
olpc-ec.h
omap-dma.h
omap-gpmc.h
omap-iommu.h
omap-mailbox.h
omapfb.h
once.h
once_lite.h
oom.h
openvswitch.h
osq_lock.h
overflow.h
packing.h
padata.h
page-flags-layout.h
page-flags.h mm: page_table_check: Ensure user pages are not slab pages 2023-06-14 11:15:29 +02:00
page-isolation.h
page_counter.h
page_ext.h
page_idle.h
page_owner.h
page_ref.h
page_reporting.h
page_table_check.h
pageblock-flags.h
pagemap.h filemap: add a per-mapping stable writes flag 2024-01-10 17:10:32 +01:00
pagevec.h
pagewalk.h
panic.h
panic_notifier.h
parman.h
parport.h
parport_pc.h
parser.h
part_stat.h
pata_arasan_cf_data.h
patchkey.h
path.h
pch_dma.h
pci-acpi.h
pci-ats.h
pci-doe.h cxl/pci: Fix CDAT retrieval on big endian 2023-04-13 16:55:24 +02:00
pci-ecam.h
pci-ep-cfs.h
pci-epc.h
pci-epf.h
pci-p2pdma.h
pci.h PCI: Add locking to RMW PCI Express Capability Register accessors 2023-09-13 09:42:46 +02:00
pci_hotplug.h
pci_ids.h PCI: Prevent xHCI driver from claiming AMD VanGogh USB3 DRD device 2023-11-08 14:11:03 +01:00
pcs-altera-tse.h
pcs-lynx.h
pcs-rzn1-miic.h
pda_power.h
pe.h
peci-cpu.h
peci.h
percpu-defs.h
percpu-refcount.h
percpu-rwsem.h
percpu.h
percpu_counter.h
perf_event.h perf: Disallow mis-matched inherited group reads 2023-10-25 12:03:15 +02:00
perf_event_api.h
perf_regs.h
personality.h
pfn.h
pfn_t.h
pgtable.h
pgtable_api.h
phonet.h
phy.h
phy_fixed.h
phy_led_triggers.h
phylink.h net: phylink: add phylink_expects_phy() method 2023-04-13 16:55:20 +02:00
pid.h
pid_namespace.h
pim.h
pipe_fs_i.h fs: pipe: reveal missing function protoypes 2023-07-19 16:20:54 +02:00
pkeys.h
pktcdvd.h
pl320-ipc.h
platform_device.h platform: Provide a remove callback that returns no value 2023-05-24 17:32:43 +01:00
platform_profile.h
pldmfw.h
plist.h
pm-trace.h
pm.h
pm_clock.h
pm_domain.h
pm_opp.h
pm_qos.h
pm_runtime.h
pm_wakeirq.h
pm_wakeup.h
pmbus.h
pmu.h
pnp.h
poison.h fs: Use CHECK_DATA_CORRUPTION() when kernel bugs are detected 2023-03-10 09:33:46 +01:00
poll.h
polynomial.h
posix-clock.h
posix-timers.h posix-cpu-timers: Implement the missing timer_wait_running callback 2023-05-11 23:03:00 +09:00
posix_acl.h
posix_acl_xattr.h
power_supply.h power: supply: core: Use blocking_notifier_call_chain to avoid RCU complaint 2023-11-08 14:11:02 +01:00
powercap.h
ppp-comp.h
ppp_channel.h
ppp_defs.h
pps_kernel.h
pr.h
prandom.h
preempt.h sched/core: Optimize in_task() and in_interrupt() a bit 2023-11-28 17:07:03 +00:00
prefetch.h
prime_numbers.h
printk.h
prmt.h
proc_fs.h
proc_ns.h
processor.h
profile.h
projid.h
property.h device property: Allow const parameter to dev_fwnode() 2024-01-05 15:18:40 +01:00
pruss_driver.h
psci.h
pseudo_fs.h
psi.h sched/psi: use kernfs polling functions for PSI trigger polling 2023-07-27 08:50:38 +02:00
psi_types.h sched/psi: use kernfs polling functions for PSI trigger polling 2023-07-27 08:50:38 +02:00
psp-sev.h
psp-tee.h
pstore.h
pstore_blk.h
pstore_ram.h
pstore_zone.h
ptdump.h
pti.h
ptp_classify.h
ptp_clock_kernel.h
ptp_kvm.h
ptp_pch.h
ptr_ring.h
ptrace.h
ptrace_api.h
purgatory.h
pvclock_gtod.h
pwm.h pwm: Fix double shift bug 2023-11-28 17:07:03 +00:00
pwm_backlight.h
pxa2xx_ssp.h
pxa168_eth.h
qcom-geni-se.h
qcom_scm.h
qnx6_fs.h
quota.h quota: Fix slow quotaoff 2023-10-19 23:08:50 +02:00
quotaops.h quota: Fix slow quotaoff 2023-10-19 23:08:50 +02:00
radix-tree.h
raid_class.h scsi: core: raid_class: Remove raid_component_add() 2023-08-30 16:11:12 +02:00
ramfs.h shmem: use ramfs_kill_sb() for kill_sb method of ramfs-based tmpfs 2023-07-19 16:22:11 +02:00
random.h
randomize_kstack.h
range.h
ras.h
ratelimit.h
ratelimit_types.h
rational.h
rbtree.h
rbtree_augmented.h
rbtree_latch.h
rbtree_types.h
rcu_node_tree.h
rcu_segcblist.h
rcu_sync.h
rculist.h
rculist_bl.h
rculist_nulls.h
rcupdate.h rcu-tasks: Provide rcu_trace_implies_rcu_gp() 2024-01-25 15:27:26 -08:00
rcupdate_trace.h
rcupdate_wait.h
rcutiny.h
rcutree.h
rcuwait.h
rcuwait_api.h
reboot-mode.h
reboot.h
reciprocal_div.h
ref_tracker.h
refcount.h
refcount_api.h
regmap.h
regset.h
relay.h
remoteproc.h
resctrl.h
reset-controller.h
reset.h
resource.h
resource_ext.h
restart_block.h
resume_user_mode.h mm: memcontrol: fix GFP_NOFS recursion in memory.high enforcement 2023-10-06 14:57:03 +02:00
rethook.h rethook: Use __rcu pointer for rethook::handler 2023-12-13 18:39:17 +01:00
rfkill.h
rhashtable-types.h
rhashtable.h
ring_buffer.h
rio.h
rio_drv.h
rio_ids.h
rio_regs.h
rmap.h mm/hwpoison: convert TTU_IGNORE_HWPOISON to TTU_HWPOISON 2023-03-10 09:34:25 +01:00
rmi.h
rndis.h
rodata_test.h
root_dev.h
rpmsg.h
rslib.h
rtc.h
rtmutex.h
rtnetlink.h
rtsx_common.h
rtsx_pci.h
rtsx_usb.h
rv.h
rwbase_rt.h
rwlock.h
rwlock_api_smp.h
rwlock_rt.h
rwlock_types.h
rwsem.h
s3c_adc_battery.h
sbitmap.h
scatterlist.h
scc.h
sched.h cgroup/cpuset: Free DL BW in case can_attach() fails 2023-08-30 16:11:11 +02:00
sched_clock.h
scmi_protocol.h
scpi_protocol.h
screen_info.h
scs.h
sctp.h
scx200.h
scx200_gpio.h
seccomp.h
secretmem.h
securebits.h
security.h vfs, security: Fix automount superblock LSM init problem, preventing NFS sb sharing 2023-09-13 09:42:28 +02:00
sed-opal.h
seg6.h
seg6_genl.h
seg6_hmac.h
seg6_iptunnel.h
seg6_local.h
selection.h
sem.h
semaphore.h
seq_buf.h
seq_file.h
seq_file_net.h
seqlock.h locking/seqlock: Do the lockdep annotation before locking in do_write_seqcount_begin_nested() 2023-10-06 14:56:41 +02:00
seqlock_api.h
serdev.h
serial.h
serial_8250.h Revert "8250: add support for ASIX devices with a FIFO bug" 2023-07-23 13:49:43 +02:00
serial_bcm63xx.h
serial_core.h
serial_max3100.h
serial_s3c.h
serial_sci.h
serio.h
set_memory.h
sfp.h
sh_clk.h
sh_dma.h
sh_eth.h
sh_intc.h sh: Avoid using IRQ0 on SH3 and SH4 2023-07-19 16:21:54 +02:00
sh_timer.h
shdma-base.h
shm.h
shmem_fs.h
shrinker.h
signal.h
signal_types.h
signalfd.h
siox.h
siphash.h
sizes.h
skb_array.h
skbuff.h net: add SKB_HEAD_ALIGN() helper 2023-09-19 12:27:58 +02:00
skmsg.h bpf, sockmap: af_unix stream sockets need to hold ref for pair sock 2024-01-10 17:10:32 +01:00
slab.h
slab_def.h
slimbus.h
slub_def.h
sm501-regs.h
sm501.h
smc91x.h
smc911x.h
smp.h
smp_types.h
smpboot.h
smsc911x.h
smscphy.h
sock_diag.h
socket.h net: Declare MSG_SPLICE_PAGES internal sendmsg() flag 2024-01-10 17:10:27 +01:00
sockptr.h
softirq.h
sonet.h
sony-laptop.h
sonypi.h
sort.h
sound.h
soundcard.h
spinlock.h
spinlock_api.h
spinlock_api_smp.h
spinlock_api_up.h
spinlock_rt.h
spinlock_types.h
spinlock_types_raw.h
spinlock_types_up.h
spinlock_up.h
splice.h splice, net: Add a splice_eof op to file-ops and socket-ops 2024-01-10 17:10:27 +01:00
spmi.h
sram.h
srcu.h
srcutiny.h
srcutree.h
ssbi.h
stackdepot.h
stackleak.h
stackprotector.h
stacktrace.h
start_kernel.h
stat.h
statfs.h
static_call.h
static_call_types.h
static_key.h
stdarg.h
stddef.h
stm.h
stmmac.h net: stmmac: fix FPE events losing 2023-12-13 18:39:08 +01:00
stmp3xxx_rtc_wdt.h
stmp_device.h
stop_machine.h
string.h string.h: add array-wrappers for (v)memdup_user() 2023-11-28 17:06:57 +00:00
string_helpers.h
stringhash.h
stringify.h
sungem_phy.h
sunserialcore.h
sunxi-rsb.h
superhyway.h
surface_acpi_notify.h
suspend.h
svga.h
sw842.h
swab.h
swait.h
swait_api.h
swap.h
swap_cgroup.h
swap_slots.h
swapfile.h
swapops.h
swiotlb.h
switchtec.h
sxgbe_platform.h
sync_core.h
sync_file.h
synclink.h
sys.h
sys_soc.h
syscall_user_dispatch.h
syscalls.h
syscalls_api.h
syscore_ops.h
sysctl.h proc: sysctl: prevent aliased sysctls from getting passed to init 2023-11-28 17:07:08 +00:00
sysfb.h efi: sysfb_efi: Fix DMI quirks not working for simpledrm 2023-03-30 12:49:22 +02:00
sysfs.h
syslog.h
sysrq.h
sysv_fs.h
t10-pi.h
task_io_accounting.h
task_io_accounting_ops.h
task_work.h
taskstats_kern.h
tboot.h
tc.h
tca6416_keypad.h Input: tca6416-keypad - always expect proper IRQ number in i2c client 2023-09-19 12:27:59 +02:00
tcp.h tcp: annotate data-races around fastopenq.max_qlen 2023-07-27 08:50:49 +02:00
tee_drv.h
termios_internal.h
textsearch.h
textsearch_fsm.h
tfrc.h
thermal.h
thread_info.h
threads.h
thunderbolt.h
ti-emif-sram.h
ti_wilink_st.h
tick.h tick/nohz: Fix cpu_is_hotpluggable() by checking with nohz subsystem 2023-05-11 23:03:01 +09:00
tifm.h
timb_dma.h
timb_gpio.h
time.h
time32.h
time64.h
time_namespace.h
timecounter.h
timekeeper_internal.h
timekeeping.h
timer.h
timerfd.h
timeriomem-rng.h
timerqueue.h
timex.h
tnum.h
topology.h
torture.h
toshiba.h
tpm.h tpm: Disable RNG for all AMD fTPMs 2023-08-16 18:27:20 +02:00
tpm_command.h
tpm_eventlog.h
trace.h tracing: Add trace_array_puts() to write into instance 2023-04-20 12:35:12 +02:00
trace_clock.h
trace_events.h tracing: Have trace_event_file have ref counters 2023-11-28 17:07:23 +00:00
trace_recursion.h
trace_seq.h
tracefs.h
tracepoint-defs.h
tracepoint.h tracing: Make tracepoint lockdep check actually test something 2023-03-22 13:33:59 +01:00
transport_class.h drivers: base: transport_class: fix possible memory leak 2023-03-10 09:33:34 +01:00
ts-nbus.h
tsacct_kern.h
tty.h
tty_buffer.h
tty_driver.h
tty_flip.h
tty_ldisc.h
tty_port.h
typecheck.h
types.h
u64_stats_sync.h
u64_stats_sync_api.h
uacce.h
uaccess.h uaccess: Add minimum bounds check on kernel buffer size 2023-03-10 09:33:52 +01:00
ucb1400.h
ucs2_string.h
udp.h udp: lockless UDP_ENCAP_L2TPINUDP / UDP_GRO 2024-01-10 17:10:28 +01:00
uidgid.h
uio.h
uio_driver.h
umh.h
unicode.h
units.h
uprobes.h
usb.h USB: core: Add routines for endpoint checks in old drivers 2023-05-30 14:03:20 +01:00
usb_usual.h
usbdevice_fs.h
user-return-notifier.h
user.h
user_events.h
user_namespace.h
userfaultfd_k.h
usermode_driver.h
util_macros.h
uts.h
utsname.h
uuid.h
vbox_utils.h
vdpa.h
verification.h KEYS: Include linux/errno.h in linux/verification.h 2023-11-20 11:52:04 +01:00
vermagic.h
vexpress.h
vfio.h
vfio_pci_core.h
vfs.h
vga_switcheroo.h
vgaarb.h
vhost_iotlb.h
via-core.h
via-gpio.h
via.h
via_i2c.h
videodev2.h
virtio.h
virtio_anchor.h
virtio_byteorder.h
virtio_caif.h
virtio_config.h
virtio_console.h
virtio_dma_buf.h
virtio_net.h net: do not allow gso_size to be set to GSO_BY_FRAGS 2023-08-23 17:52:35 +02:00
virtio_pci_legacy.h
virtio_pci_modern.h
virtio_ring.h
virtio_vsock.h virtio/vsock: replace virtio_vsock_pkt with sk_buff 2023-11-20 11:52:17 +01:00
vlynq.h
vm_event_item.h
vmalloc.h
vmpressure.h
vmstat.h
vmw_vmci_api.h
vmw_vmci_defs.h
vringh.h
vt.h
vt_buffer.h linux/vt_buffer.h: allow either builtin or modular for macros 2023-05-11 23:03:28 +09:00
vt_kern.h
vtime.h
w1-gpio.h
w1.h
wait.h wait: Return number of exclusive waiters awaken 2023-03-10 09:34:34 +01:00
wait_api.h
wait_bit.h
watch_queue.h watch_queue: prevent dangling pipe pointer 2023-07-19 16:22:10 +02:00
watchdog.h
win_minmax.h
wireless.h
wkup_m3_ipc.h
wl12xx.h
wm97xx.h
wmi.h
workqueue.h workqueue: Provide one lock class key per work_on_cpu() callsite 2023-11-28 17:06:55 +00:00
workqueue_api.h
writeback.h
ww_mutex.h
wwan.h
xarray.h
xattr.h
xxhash.h
xz.h
yam.h
z2_battery.h
zconf.h
zlib.h
zorro.h
zpool.h
zsmalloc.h
zstd.h
zstd_errors.h
zstd_lib.h
zutil.h