Ubuntu-focal-kernel/include/linux
Kees Cook f96afdb3a3 uaccess: Add minimum bounds check on kernel buffer size
BugLink: https://bugs.launchpad.net/bugs/2017706

[ Upstream commit 04ffde1319a715bd0550ded3580d4ea3bc003776 ]

While there is logic about the difference between ksize and usize,
copy_struct_from_user() didn't check the size of the destination buffer
(when it was known) against ksize. Add this check so there is an upper
bounds check on the possible memset() call, otherwise lower bounds
checks made by callers will trigger bounds warnings under -Warray-bounds.
Seen under GCC 13:

In function 'copy_struct_from_user',
    inlined from 'iommufd_fops_ioctl' at
../drivers/iommu/iommufd/main.c:333:8:
../include/linux/fortify-string.h:59:33: warning: '__builtin_memset' offset [57, 4294967294] is out of the bounds [0, 56] of object 'buf' with type 'union ucmd_buffer' [-Warray-bounds=]
   59 | #define __underlying_memset     __builtin_memset
      |                                 ^
../include/linux/fortify-string.h:453:9: note: in expansion of macro '__underlying_memset'
  453 |         __underlying_memset(p, c, __fortify_size); \
      |         ^~~~~~~~~~~~~~~~~~~
../include/linux/fortify-string.h:461:25: note: in expansion of macro '__fortify_memset_chk'
  461 | #define memset(p, c, s) __fortify_memset_chk(p, c, s, \
      |                         ^~~~~~~~~~~~~~~~~~~~
../include/linux/uaccess.h:334:17: note: in expansion of macro 'memset'
  334 |                 memset(dst + size, 0, rest);
      |                 ^~~~~~
../drivers/iommu/iommufd/main.c: In function 'iommufd_fops_ioctl':
../drivers/iommu/iommufd/main.c:311:27: note: 'buf' declared here
  311 |         union ucmd_buffer buf;
      |                           ^~~

Cc: Christian Brauner <brauner@kernel.org>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Dinh Nguyen <dinguyen@kernel.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Alexander Potapenko <glider@google.com>
Acked-by: Aleksa Sarai <cyphar@cyphar.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/lkml/20230203193523.never.667-kees@kernel.org/
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Luke Nowakowski-Krijger <luke.nowakowskikrijger@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
2023-05-12 17:15:07 +02:00
..
amba
avf
bcma
byteorder
can can: sja1000: fix size of OCR_MODE_MASK define 2023-02-01 15:22:02 +01:00
ceph
clk
crush
decompress
dma
dsa
extcon
firmware
fpga
fsl
gpio
greybus
hsi
i3c
iio iio: st_sensors: Add a local lock for protecting odr 2022-08-26 11:09:17 +02:00
input
irqchip
isdn
lockd
mailbox
mdio net: xgene: Move shared header file into include/linux 2023-03-21 10:09:00 +01:00
mfd mfd: t7l66xb: Drop platform disable callback 2022-10-17 15:01:14 +02:00
mlx4
mlx5 net/mlx5: Fix possible use-after-free in async command interface 2023-01-06 08:44:41 -08:00
mmc mmc: core: Fix ambiguous TRIM and DISCARD arg 2023-02-01 15:21:45 +01:00
mtd mtd: cfi_cmdset_0002: Use chip_ready() for write on S29GL064N 2022-08-26 11:09:31 +02:00
mux
netfilter
netfilter_arp
netfilter_bridge netfilter: ebtables: reject blobs that don't provide all entry points 2022-10-17 15:02:11 +02:00
netfilter_ipv4
netfilter_ipv6
perf
phy
pinctrl
platform_data platform/x86: pmc_atom: Fix SLP_TYPx bitfield mask 2022-11-24 10:27:46 +01:00
power
qed
raid
regulator
remoteproc
reset
rpmsg
rtc
sched exit: Add and use make_task_dead. 2023-03-21 10:09:01 +01:00
soc
soundwire
spi
ssb
sunrpc SUNRPC: ensure the matching upcall is in-flight upon downcall 2023-02-01 15:23:37 +01:00
ulpi
unaligned
usb usb: typec: altmodes/displayport: correct pin assignment for UFP receptacles 2022-11-24 10:27:58 +01:00
wimax
8250_pci.h
a.out.h
acct.h
acpi.h
acpi_dma.h
acpi_iort.h
acpi_pmtmr.h
adb.h
adfs_fs.h
adxl.h
aer.h
agp_backend.h
agpgart.h
ahci-remap.h
ahci_platform.h
aio.h
alarmtimer.h
alcor_pci.h
altera_jtaguart.h
altera_uart.h
amd-iommu.h
anon_inodes.h
apm-emulation.h
apm_bios.h
apple-gmux.h
apple_bl.h
arch_topology.h
arm-cci.h
arm-smccc.h arm/arm64: smccc/psci: add arm_smccc_1_1_get_conduit() 2022-05-20 15:17:35 +02:00
arm_sdei.h
armada-37xx-rwtm-mailbox.h
ascii85.h
asn1.h
asn1_ber_bytecode.h
asn1_decoder.h
assoc_array.h
assoc_array_priv.h
async.h
async_tx.h
ata.h ata: fix ata_id_has_dipm() 2023-01-06 08:44:00 -08:00
ata_platform.h
atalk.h
ath9k_platform.h
atm.h
atm_suni.h
atm_tcp.h
atmdev.h
atmel-mci.h
atmel-ssc.h
atmel_pdc.h
atomic-fallback.h
atomic.h
attribute_container.h
audit.h
auto_dev-ioctl.h
auto_fs.h
auxvec.h
average.h
b1pcmcia.h
backing-dev-defs.h
backing-dev.h
backlight.h
badblocks.h
balloon_compaction.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 bitfield.h: Fix "type of reg too small for mask" test 2022-09-16 11:00:01 +02:00
bitmap.h
bitops.h
bitrev.h
bits.h
blk-cgroup.h block: don't merge across cgroup boundaries if blkcg is enabled 2022-05-20 15:18:26 +02:00
blk-mq-pci.h
blk-mq-rdma.h
blk-mq-virtio.h
blk-mq.h blk-mq: move failure injection out of blk_mq_complete_request 2022-08-10 10:09:23 +02:00
blk-pm.h
blk_types.h
blkdev.h block: return ELEVATOR_DISCARD_MERGE if possible 2022-08-26 11:06:51 +02:00
blkpg.h
blktrace_api.h
blockgroup_lock.h
bma150.h
bottom_half.h
bpf-cgroup.h
bpf.h x86/speculation: Add missing prototype for unpriv_ebpf_notify() 2022-08-26 11:07:44 +02:00
bpf_lirc.h
bpf_trace.h
bpf_types.h
bpf_verifier.h bpf: Fix pointer arithmetic mask tightening under state pruning 2021-10-11 17:08:51 -06:00
bpfilter.h
brcmphy.h
bsearch.h
bsg-lib.h
bsg.h
btf.h
btree-128.h
btree-type.h
btree.h
btrfs.h
buffer_head.h fs: only do a memory barrier for the first set_buffer_uptodate() 2022-11-24 10:27:44 +01:00
bug.h
build-salt.h
build_bug.h
bvec.h
c2port.h
cache.h
cacheinfo.h drivers: base: cacheinfo: Get rid of DEFINE_SMP_CALL_CACHE_FUNCTION() 2021-10-27 17:04:22 -06:00
capability.h
cb710.h
cciss_ioctl.h
ccp.h
cdev.h
cdrom.h
cfag12864b.h
cgroup-defs.h cgroup: Use separate src/dst nodes when preloading css_sets for migration 2022-09-16 10:59:12 +02:00
cgroup.h memcg: fix possible use-after-free in memcg_write_event_control() 2023-02-01 15:21:53 +01:00
cgroup_rdma.h
cgroup_subsys.h
circ_buf.h
cleancache.h
clk-provider.h
clk.h clk: Provide new devm_clk helpers for prepared and enabled clocks 2023-03-21 10:08:57 +01:00
clkdev.h
clock_cooling.h
clockchips.h
clocksource.h
cm4000_cs.h
cma.h
cmdline-parser.h
cn_proc.h
cnt32_to_63.h
coda.h
compaction.h
compat.h
compiler-clang.h
compiler-gcc.h
compiler-intel.h
compiler.h compiler.h: Introduce absolute_pointer macro 2021-11-05 09:12:45 +01:00
compiler_attributes.h
compiler_types.h
completion.h
component.h
configfs.h
connector.h
console.h serial: core: Fix initializing and restoring termios speed 2022-01-13 18:42:00 +01:00
console_struct.h
consolemap.h
const.h
container.h
context_tracking.h
context_tracking_state.h
cordic.h
coredump.h
coresight-pmu.h
coresight-stm.h
coresight.h
count_zeros.h
counter.h
counter_enum.h
cper.h
cpu.h x86/bugs: Report AMD retbleed vulnerability 2022-10-17 15:02:34 +02:00
cpu_cooling.h
cpu_pm.h
cpu_rmap.h
cpufeature.h
cpufreq.h
cpuhotplug.h random: clear fast pool, crng, and batches in cpuhp bring up 2022-08-26 11:10:11 +02:00
cpuidle.h
cpuidle_haltpoll.h
cpumask.h
cpuset.h
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
crypto.h
cryptohash.h
cs5535.h
ctype.h
cuda.h
cyclades.h
davinci_emac.h
dax.h
dca.h
dcache.h
dccp.h
dcookies.h
debug_locks.h
debugfs.h debugfs: fix error when writing negative value to atomic_t debugfs file 2023-02-01 15:22:16 +01:00
debugobjects.h
delay.h
delayacct.h
delayed_call.h
devcoredump.h
devfreq-event.h
devfreq.h PM/devfreq: governor: Add a private governor_data for governor 2023-02-01 15:23:34 +01:00
devfreq_cooling.h
device-mapper.h dm: remove special-casing of bio-based immutable singleton target on NVMe 2022-08-26 11:11:00 +02:00
device.h
device_cgroup.h
devpts_fs.h
digsig.h
dim.h linux/dim: Fix divide by 0 in RDMA DIM 2022-09-16 10:58:39 +02:00
dio.h
dirent.h
dlm.h
dlm_plock.h
dm-bufio.h
dm-dirty-log.h
dm-io.h
dm-kcopyd.h
dm-region-hash.h
dm9000.h
dma-buf.h
dma-contiguous.h
dma-debug.h
dma-direct.h
dma-direction.h
dma-fence-array.h
dma-fence-chain.h
dma-fence.h
dma-iommu.h
dma-mapping.h dma-mapping: add generic helpers for mapping sgtable objects 2023-04-18 17:21:05 +02:00
dma-noncoherent.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
dw_apb_timer.h
dynamic_debug.h dyndbg: fix module.dyndbg handling 2023-01-06 08:43:59 -08:00
dynamic_queue_limits.h
earlycpio.h
ecryptfs.h
edac.h
edd.h
eeprom_93cx6.h
eeprom_93xx46.h
efi-bgrt.h
efi.h efi: random: reduce seed size to 32 bytes 2023-01-06 08:44:44 -08:00
efs_vh.h
eisa.h
elevator.h
elf-fdpic.h
elf-randomize.h
elf.h
elfcore-compat.h
elfcore.h elfcore: correct reference to CONFIG_UML 2021-11-22 17:31:02 +01:00
elfnote.h
enclosure.h
energy_model.h PM: EM: Increase energy calculation precision 2021-10-11 17:08:48 -06:00
err.h
errno.h
error-injection.h
errqueue.h
errseq.h
etherdevice.h etherdevice: Adjust ether_addr* prototypes to silence -Wstringop-overead 2022-06-22 14:50:43 +02:00
ethtool.h
eventfd.h eventfd: change int to __u64 in eventfd_signal() ifndef CONFIG_EVENTFD 2023-02-01 15:22:18 +01:00
eventpoll.h
evm.h
export.h
exportfs.h
ext2_fs.h
extable.h
extcon-provider.h
extcon.h
f2fs_fs.h
f75375s.h
falloc.h
fanotify.h
fault-inject.h
fb.h
fbcon.h fbcon: Prevent that screen size is smaller than font size 2022-08-26 11:06:31 +02:00
fcdevice.h
fcntl.h
fd.h
fddidevice.h
fdtable.h
fec.h
file.h
filter.h bpf: Prevent increasing bpf_jit_limit above max 2022-01-13 18:41:51 +01:00
fips.h
firewire.h
firmware-map.h
firmware.h
fixp-arith.h
flat.h
flex_proportions.h
font.h
frame.h
freezer.h
frontswap.h
fs.h libfs: add DEFINE_SIMPLE_ATTRIBUTE_SIGNED for signed value 2023-02-01 15:22:15 +01:00
fs_context.h devtmpfs regression fix: reconfigure on each mount 2022-03-07 16:35:09 +01:00
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: invalidate dcache before IN_DELETE event 2022-03-29 09:13:51 +02:00
fsnotify_backend.h
fsverity.h
ftrace.h module/ftrace: handle patchable-function-entry 2022-04-14 11:32:17 +02:00
ftrace_irq.h
futex.h
fwnode.h
gameport.h
gcd.h
genalloc.h
generic-radix-tree.h
genetlink.h
genhd.h
genl_magic_func.h
genl_magic_struct.h
getcpu.h
gfp.h
glob.h
gnss.h
goldfish.h
gpio-pxa.h
gpio.h
gpio_keys.h
greybus.h
hardirq.h
hash.h
hashtable.h
hdlc.h
hdlcdrv.h
hdmi.h
hid-debug.h
hid-roccat.h
hid-sensor-hub.h
hid-sensor-ids.h
hid.h HID: quirks: Allow inverting the absolute X/Y values 2022-03-07 16:36:18 +01:00
hiddev.h
hidraw.h
highmem.h mm/highmem: Lift memcpy_[to|from]_page to core 2023-02-01 15:23:36 +01:00
highuid.h
hil.h
hil_mlc.h
hippidevice.h
hmm.h
host1x.h
hp_sdc.h
hpet.h
hrtimer.h
hrtimer_defs.h
htcpld.h
huge_mm.h
hugetlb.h hugetlb: check for undefined shift on 32 bit architectures 2023-04-18 17:21:04 +02:00
hugetlb_cgroup.h
hugetlb_inline.h
hw_breakpoint.h
hw_random.h random: pull add_hwgenerator_randomness() declaration into random.h 2022-08-26 11:10:11 +02: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-pxa.h
i2c-smbus.h
i2c.h
i8042.h
i8253.h
icmp.h
icmpv6.h
ide.h
idle_inject.h
idr.h
ieee80211.h
ieee802154.h
if_arp.h net: handle ARPHRD_PIMREG in dev_is_mac_header_xmit() 2022-05-20 15:18:00 +02:00
if_bridge.h
if_eql.h
if_ether.h
if_fddi.h
if_frad.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
if_tun.h
if_tunnel.h
if_vlan.h
igmp.h
ihex.h
ima.h
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_task.h
initrd.h
inotify.h
input-polldev.h
input.h
integrity.h
intel-iommu.h
intel-ish-client-if.h
intel-pti.h
intel-svm.h
intel_rapl.h
intel_th.h
interconnect-provider.h
interconnect.h
interrupt.h
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
ioc3.h
iocontext.h
iomap.h iomap: iomap that extends beyond EOF should be marked dirty 2022-11-24 10:28:27 +01:00
iommu-helper.h
iommu.h iommu: Add gfp parameter to iommu_ops::map 2023-04-18 17:21:01 +02:00
iopoll.h
ioport.h
ioprio.h
iova.h iommu/iova: Fix module config properly 2023-01-06 08:44:02 -08:00
ip.h
ipack.h
ipc.h
ipc_namespace.h shm: extend forced shm destroy to support objects from several IPC nses 2022-02-03 18:57:09 +01:00
ipmi-fru.h
ipmi.h
ipmi_smi.h
ipv6.h ipv6: make mc_forwarding atomic 2022-05-20 15:19:44 +02:00
ipv6_route.h
irq.h
irq_cpustat.h
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.h
isapnp.h
iscsi_boot_sysfs.h
iscsi_ibft.h
isicom.h
iversion.h
jbd2.h
jhash.h
jiffies.h
journal-head.h
joystick.h
jump_label.h
jump_label_ratelimit.h
jz4740-adc.h
jz4780-nemc.h
kallsyms.h
kasan-checks.h
kasan.h
kbd_diacr.h
kbd_kern.h
kbuild.h
kconfig.h
kcore.h
kcov.h
kdb.h
kdebug.h
kdev_t.h
kern_levels.h
kernel-page-flags.h
kernel.h panic: Consolidate open-coded panic_on_warn checks 2023-03-21 10:09:01 +01:00
kernel_stat.h genirq: Fix the return type of kstat_cpu_irqs_sum() 2023-05-12 17:15:00 +02:00
kernelcapi.h
kernfs.h
kexec.h kexec_file: drop weak attribute from arch_kexec_apply_relocations[_add] 2022-08-26 11:11:25 +02:00
key-type.h
key.h
keyboard.h
keyctl.h
kfifo.h kfifo: fix kfifo_to_user() return type 2022-10-17 15:01:14 +02:00
kgdb.h
khugepaged.h
klist.h
kmemleak.h
kmod.h
kmsg_dump.h
kobj_map.h
kobject.h
kobject_ns.h
kprobes.h kprobes: Limit max data_size of the kretprobe instances 2022-02-03 18:57:22 +01:00
kref.h
ks0108.h
ks8842.h
ks8851_mll.h
ksm.h
kthread.h
ktime.h
kvm_host.h x86/kvm/vmx: Make noinstr clean 2022-10-17 15:02:34 +02:00
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-lm3530.h
leds-bd2802.h
leds-lp3944.h
leds-lp3952.h
leds-pca9532.h
leds-regulator.h
leds-tca6507.h
leds-ti-lmu-common.h
leds.h
leds_pwm.h
libata.h libata: fix read log timeout value 2022-01-13 18:41:44 +01:00
libfdt.h
libfdt_env.h
libgcc.h
libnvdimm.h
libps2.h
license.h
lightnvm.h
limits.h
linkage.h
linkmode.h
linux_logo.h
lis3lv02d.h
list.h include/linux/list.h: add a macro to test if entry is pointing to the head 2021-10-12 16:31:20 -06:00
list_bl.h
list_lru.h
list_nulls.h
list_sort.h
livepatch.h
llc.h
llist.h
lockdep.h
lockref.h
log2.h
logic_pio.h
lp.h
lru_cache.h
lsm_audit.h
lsm_hooks.h binder: use cred instead of task for selinux checks 2022-01-13 18:41:43 +01:00
lz4.h
lzo.h
mISDNdsp.h
mISDNhw.h
mISDNif.h
mailbox_client.h
mailbox_controller.h mailbox: forward the hrtimer if not queued and under a lock 2022-08-26 11:08:14 +02:00
maple.h
marvell_phy.h
math64.h
max17040_battery.h
mbcache.h ext4: fix deadlock due to mbcache entry corruption 2023-02-01 15:23:37 +01:00
mbus.h
mc6821.h
mc146818rtc.h rtc: mc146818-lib: Fix the AltCentury for AMD platforms 2022-08-26 11:06:35 +02:00
mcb.h
mdev.h
mdio-bitbang.h
mdio-gpio.h
mdio-mux.h
mdio.h net: mdio: introduce a shutdown method to mdio device drivers 2021-11-12 14:04:25 +01:00
mei_cl_bus.h
mem_encrypt.h
memblock.h memblock: fix memblock_phys_alloc() section mismatch error 2022-03-07 16:34:40 +01:00
memcontrol.h
memfd.h
memory.h
memory_hotplug.h mm/memory_hotplug: use "unsigned long" for PFN in zone_for_pfn_range() 2021-10-12 16:31:43 -06:00
mempolicy.h
mempool.h
memremap.h
memstick.h
mic_bus.h
micrel_phy.h
microchipphy.h
migrate.h
migrate_mode.h
mii.h
miscdevice.h
mm-arch-hooks.h
mm.h mmap locking API: initial implementation as rwsem wrappers 2022-09-16 11:00:00 +02:00
mm_inline.h
mm_types.h
mm_types_task.h
mman.h
mmap_lock.h mmap locking API: initial implementation as rwsem wrappers 2022-09-16 11:00:00 +02:00
mmdebug.h mm: Fix '.data.once' orphan section warning 2023-02-01 15:21:46 +01:00
mmiotrace.h
mmu_context.h
mmu_notifier.h
mmzone.h arm: remove CONFIG_ARCH_HAS_HOLES_MEMORYMODEL 2022-07-11 16:39:53 +02:00
mnt_namespace.h
mod_devicetable.h x86/cpu: Add a steppings field to struct x86_cpu_id 2022-10-17 15:02:33 +02:00
module.h
module_signature.h
moduleloader.h
moduleparam.h
mount.h
moxtet.h
mpage.h
mpi.h
mpls.h
mpls_iptunnel.h
mroute.h
mroute6.h
mroute_base.h
msdos_fs.h
msg.h
msi.h
mutex.h
mv643xx.h
mv643xx_eth.h
mv643xx_i2c.h
mvebu-pmsu.h
mxm-wmi.h
n_r3964.h
namei.h
nd.h
ndctl.h
net.h
netdev_features.h net: Fix features skip in for_each_netdev_feature() 2022-07-11 16:40:00 +02:00
netdevice.h net: add atomic_long_t to net_device_stats fields 2023-02-01 15:23:13 +01:00
netfilter.h
netfilter_bridge.h
netfilter_defs.h
netfilter_ingress.h
netfilter_ipv4.h
netfilter_ipv6.h
netlink.h
netpoll.h
nfs.h
nfs3.h
nfs4.h
nfs_fs.h NFS: Clear the file access cache upon login 2023-02-01 15:23:52 +01:00
nfs_fs_i.h
nfs_fs_sb.h
nfs_iostat.h
nfs_page.h
nfs_xdr.h
nfsacl.h
nl802154.h
nls.h
nmi.h watchdog: export lockup_detector_reconfigure 2022-10-17 15:02:02 +02:00
node.h
nodemask.h nodemask: Fix return values to be unsigned 2022-08-26 11:09:27 +02:00
nospec.h uaccess: Add speculation barrier to copy_from_user() 2023-04-18 17:21:05 +02:00
notifier.h
ns_common.h
nsc_gpio.h
nsproxy.h
ntb.h
ntb_transport.h
nubus.h
numa.h
nvme-fc-driver.h
nvme-fc.h
nvme-rdma.h
nvme-tcp.h
nvme.h nvme: fix the NVME_CMD_EFFECTS_CSE_MASK definition 2023-02-01 15:23:19 +01:00
nvmem-consumer.h
nvmem-provider.h
nvram.h
objagg.h
of.h
of_address.h
of_clk.h of: clk: Make <linux/of_clk.h> self-contained 2022-02-03 18:57:14 +01:00
of_device.h
of_dma.h
of_fdt.h
of_gpio.h
of_graph.h
of_iommu.h
of_irq.h
of_mdio.h
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: fix section mismatch on clang builds 2023-01-06 08:44:10 -08:00
oom.h
openvswitch.h
oprofile.h
osq_lock.h
overflow.h
packing.h
padata.h
page-flags-layout.h
page-flags.h
page-isolation.h
page_counter.h
page_ext.h
page_idle.h
page_owner.h
page_ref.h
pageblock-flags.h
pagemap.h
pagevec.h
pagewalk.h
parman.h
parport.h
parport_pc.h
parser.h
pata_arasan_cf_data.h
patchkey.h
path.h
pch_dma.h
pci-acpi.h
pci-ats.h
pci-dma-compat.h
pci-ecam.h PCI/ACPI: Add Ampere Altra SOC MCFG quirk 2021-10-27 17:04:20 -06:00
pci-ep-cfs.h
pci-epc.h
pci-epf.h
pci-p2pdma.h
pci.h PCI: Add pci_speed_string() 2022-05-20 15:20:08 +02:00
pci_hotplug.h
pci_ids.h PCI: Add defines for normal and subtractive PCI bridges 2022-10-17 15:00:18 +02:00
pda_power.h
pe.h
percpu-defs.h
percpu-refcount.h
percpu-rwsem.h
percpu.h
percpu_counter.h
perf_event.h perf: Protect perf_guest_cbs with RCU 2022-03-07 16:35:10 +01:00
perf_regs.h
personality.h
pfn.h
pfn_t.h
phonet.h
phy.h
phy_fixed.h
phy_led_triggers.h
phylink.h
pid.h
pid_namespace.h
pim.h
pipe_fs_i.h
pkeys.h
pktcdvd.h
pl320-ipc.h
pl353-smc.h
platform_device.h
plist.h
pm-trace.h
pm.h
pm2301_charger.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
pnfs_osd_xdr.h
pnp.h
poison.h
poll.h
posix-clock.h
posix-timers.h
posix_acl.h
posix_acl_xattr.h
power_supply.h
powercap.h
ppp-comp.h
ppp_channel.h
ppp_defs.h
pps-gpio.h
pps_kernel.h
pr.h
prandom.h siphash: use one source of truth for siphash permutations 2022-08-26 11:10:29 +02:00
preempt.h
prefetch.h
prime_numbers.h
printk.h
proc_fs.h net, proc: Provide PROC_FS=n fallback for proc_create_net_single_write() 2023-02-01 15:22:24 +01:00
proc_ns.h
processor.h
profile.h
projid.h
property.h
psci.h
pseudo_fs.h
psi.h psi: Fix uaf issue when psi trigger is destroyed while being polled 2022-03-29 09:13:53 +02:00
psi_types.h psi: Fix uaf issue when psi trigger is destroyed while being polled 2022-03-29 09:13:53 +02:00
psp-sev.h
pstore.h
pstore_ram.h
pti.h
ptp_classify.h
ptp_clock_kernel.h
ptr_ring.h
ptrace.h ptrace/xtensa: Replace PT_SINGLESTEP with TIF_SINGLESTEP 2022-08-26 11:07:09 +02:00
purgatory.h
pvclock_gtod.h
pwm.h
pwm_backlight.h
pxa2xx_ssp.h
pxa168_eth.h
qcom-geni-se.h
qcom_scm.h
qnx6_fs.h
quota.h
quotaops.h quota: Factor out setup of quota inode 2023-02-01 15:23:46 +01:00
radix-tree.h
raid_class.h
ramfs.h
random.h random: always mix cycle counter in add_latent_entropy() 2023-04-18 17:21:05 +02:00
range.h
ras.h
ratelimit.h random: quiet urandom warning ratelimit suppression message 2022-08-26 11:11:07 +02:00
rational.h
rbtree.h
rbtree_augmented.h
rbtree_latch.h
rcu_node_tree.h
rcu_segcblist.h
rcu_sync.h
rculist.h
rculist_bl.h
rculist_nulls.h
rcupdate.h rcu: Upgrade rcu_swap_protected() to rcu_replace_pointer() 2023-03-21 10:09:02 +01:00
rcupdate_wait.h
rcutiny.h
rcutree.h
rcuwait.h
reboot-mode.h
reboot.h
reciprocal_div.h
refcount.h locking/refcount: Consolidate implementations of refcount_t 2022-09-16 10:59:59 +02:00
regmap.h
regset.h
relay.h
remoteproc.h
reset-controller.h
reset.h
resource.h
resource_ext.h
restart_block.h
rfkill.h
rhashtable-types.h
rhashtable.h
ring_buffer.h tracing/ring-buffer: Have polling block on watermark 2023-02-01 15:21:47 +01:00
rio.h
rio_drv.h
rio_ids.h
rio_regs.h
rmap.h mm/rmap: Fix anon_vma->degree ambiguity leading to double-reuse 2022-10-17 15:02:24 +02:00
rmi.h
rndis.h
rodata_test.h
root_dev.h
rpmsg.h rpmsg: Fix rpmsg_create_ept return when RPMSG config is not defined 2022-01-13 18:42:35 +01:00
rslib.h
rtc.h
rtmutex.h
rtnetlink.h
rtsx_common.h
rtsx_pci.h
rtsx_usb.h misc: rtsx_usb: use separate command and response buffers 2022-09-16 10:59:03 +02:00
rwlock.h
rwlock_api_smp.h
rwlock_types.h
rwsem.h
s3c_adc_battery.h
sbitmap.h
scatterlist.h scatterlist: add generic wrappers for iterating over sgtable objects 2023-04-18 17:21:05 +02:00
scc.h
sched.h kernel/sched: Remove dl_boosted flag comment 2022-10-17 15:02:09 +02:00
sched_clock.h
scif.h
scmi_protocol.h
scpi_protocol.h
screen_info.h
sctp.h
scx200.h
scx200_gpio.h
sdb.h
sdla.h
seccomp.h
securebits.h
security.h UBUNTU: SAUCE: debug: Lock down kgdb 2022-05-21 11:27:20 -03: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
seqno-fence.h
serdev.h
serial.h
serial_8250.h
serial_bcm63xx.h
serial_core.h serial: Create uart_xmit_advance() 2022-11-24 10:28:51 +01:00
serial_max3100.h
serial_pnx8xxx.h
serial_s3c.h
serial_sci.h
serio.h
set_memory.h
sfi.h
sfi_acpi.h
sfp.h
sh_clk.h
sh_dma.h
sh_eth.h
sh_intc.h
sh_timer.h
shdma-base.h
shm.h
shmem_fs.h
shrinker.h
signal.h
signal_types.h
signalfd.h
siox.h
siphash.h siphash: use one source of truth for siphash permutations 2022-08-26 11:10:29 +02:00
sirfsoc_dma.h
sizes.h
skb_array.h
skbuff.h bpf: Don't redirect packets with invalid pkt_len 2022-10-17 15:02:24 +02:00
skmsg.h
slab.h
slab_def.h
slimbus.h
slub_def.h
sm501-regs.h
sm501.h
smc91x.h
smc911x.h
smp.h
smpboot.h
smsc911x.h
smscphy.h
sock_diag.h
socket.h
sonet.h
sony-laptop.h
sonypi.h
sort.h
sound.h
soundcard.h
spinlock.h
spinlock_api_smp.h
spinlock_api_up.h
spinlock_types.h
spinlock_types_up.h
spinlock_up.h
splice.h
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_key.h
stddef.h
stm.h
stmmac.h net: stmmac: do not stop RX_CLK in Rx LPI state for qcs404 SoC 2023-04-18 17:21:02 +02:00
stmp3xxx_rtc_wdt.h
stmp_device.h
stop_machine.h
string.h
string_helpers.h
stringhash.h
stringify.h
sungem_phy.h
sunserialcore.h
sunxi-rsb.h
superhyway.h
suspend.h PM: s2idle: ACPI: Fix wakeup interrupts handling 2022-04-14 11:32:02 +02:00
svga.h
sw842.h
swab.h
swait.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
syscalls.h
syscore_ops.h
sysctl.h sysctl: add a new register_sysctl_init() interface 2023-03-21 10:09:01 +01: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
tcp.h tcp: fix tcp_cwnd_validate() to not forget is_cwnd_limited 2023-01-06 08:43:56 -08:00
tee_drv.h tee: export teedev_open() and teedev_close_context() 2022-05-20 15:17:10 +02:00
textsearch.h
textsearch_fsm.h
tfrc.h
thermal.h thermal/core: Fix thermal_cooling_device_register() prototype 2021-10-27 17:04:22 -06:00
thread_info.h
threads.h
thunderbolt.h
ti-emif-sram.h
ti_wilink_st.h
tick.h
tifm.h
timb_dma.h
timb_gpio.h
time.h
time32.h
time64.h
timecounter.h
timekeeper_internal.h
timekeeping.h
timekeeping32.h
timer.h
timerfd.h
timeriomem-rng.h
timerqueue.h timerqueue: Use rb_entry_safe() in timerqueue_getnext() 2023-02-01 15:22:13 +01:00
timex.h timekeeping: Add raw clock fallback for random_get_entropy() 2022-08-26 11:10:23 +02:00
tnum.h
topology.h sched/topology: Make sched_init_numa() use a set for the deduplicating sort 2022-05-20 15:17:27 +02:00
torture.h
toshiba.h
tpm.h
tpm_command.h
tpm_eventlog.h efi: tpm: Avoid READ_ONCE() for accessing the event log 2023-02-01 15:23:44 +01:00
trace.h
trace_clock.h
trace_events.h
trace_seq.h
tracefs.h
tracehook.h
tracepoint-defs.h
tracepoint.h
transport_class.h
ts-nbus.h
tsacct_kern.h
tty.h
tty_driver.h
tty_flip.h tty: use new tty_insert_flip_string_and_push_buffer() in pty_write() 2022-09-16 11:00:05 +02:00
tty_ldisc.h
typecheck.h
types.h
u64_stats_sync.h
uaccess.h uaccess: Add minimum bounds check on kernel buffer size 2023-05-12 17:15:07 +02:00
ucb1400.h
ucs2_string.h
udp.h
uidgid.h
uio.h
uio_driver.h
umh.h
unicode.h
uprobes.h
usb.h USB: move snd_usb_pipe_sanity_check into the USB core 2023-03-21 10:08:56 +01:00
usb_usual.h
usbdevice_fs.h
user-return-notifier.h
user.h
user_namespace.h
userfaultfd_k.h
util_macros.h
uts.h
utsname.h
uuid.h
vbox_utils.h
verification.h
vermagic.h
vexpress.h
vfio.h
vfs.h
vga_switcheroo.h
vgaarb.h
via-core.h
via-gpio.h
via.h
via_i2c.h
videodev2.h
virtio.h virtio: unexport virtio_finalize_features 2022-05-20 15:17:50 +02:00
virtio_byteorder.h
virtio_caif.h
virtio_config.h virtio: acknowledge all features before access 2022-05-20 15:17:50 +02:00
virtio_console.h
virtio_net.h net: skip virtio_net_hdr_set_proto if protocol already set 2022-03-07 16:34:24 +01:00
virtio_ring.h
virtio_vsock.h
visorbus.h
vlynq.h
vm_event_item.h
vm_sockets.h
vmacache.h
vmalloc.h
vme.h
vmpressure.h
vmstat.h
vmw_vmci_api.h
vmw_vmci_defs.h
vringh.h
vt.h
vt_buffer.h
vt_kern.h
vtime.h
w1-gpio.h
w1.h
wait.h wait: Fix __wait_event_hrtimeout for RT/DL tasks 2022-10-17 15:00:23 +02:00
wait_bit.h
watchdog.h
win_minmax.h
wireless.h
wkup_m3_ipc.h
wl12xx.h
wm97xx.h
wmi.h
workqueue.h
writeback.h
ww_mutex.h
xarray.h
xattr.h
xxhash.h
xz.h
yam.h
z2_battery.h
zbud.h
zconf.h
zlib.h
zorro.h
zpool.h
zsmalloc.h
zstd.h
zutil.h