Kees Cook
5bc391944d
uaccess: Add minimum bounds check on kernel buffer size
...
[ 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>
2023-03-11 16:43:56 +01:00
..
amba
avf
bcma
byteorder
can
can: sja1000: fix size of OCR_MODE_MASK define
2022-12-19 12:24:16 +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-06-14 18:11:59 +02:00
input
irqchip
isdn
lockd
mailbox
mdio
net: xgene: Move shared header file into include/linux
2023-02-06 07:52:47 +01:00
mfd
mfd: t7l66xb: Drop platform disable callback
2022-08-25 11:18:04 +02:00
mlx4
RDMA/mlx4: Do not map the core_clock page to user space unless enabled
2021-06-16 11:59:44 +02:00
mlx5
net/mlx5: Fix possible use-after-free in async command interface
2022-11-03 23:56:56 +09:00
mmc
mmc: core: Fix ambiguous TRIM and DISCARD arg
2022-12-08 11:23:04 +01:00
mtd
mtd: cfi_cmdset_0002: Use chip_ready() for write on S29GL064N
2022-06-14 18:12:03 +02:00
mux
netfilter
netfilter: x_tables: Use correct memory barriers.
2021-03-30 14:35:28 +02:00
netfilter_arp
netfilter: arp_tables: add pre_exit hook for table unregister
2021-04-21 12:56:16 +02:00
netfilter_bridge
netfilter: ebtables: reject blobs that don't provide all entry points
2022-09-05 10:27:41 +02:00
netfilter_ipv4
netfilter_ipv6
perf
phy
pinctrl
platform_data
platform/x86: pmc_atom: Fix SLP_TYPx bitfield mask
2022-09-15 12:04:50 +02:00
power
power: supply: max17042_battery: fix typo in MAx17042_TOFF
2021-09-15 09:47:27 +02:00
qed
raid
regulator
remoteproc
reset
rpmsg
rtc
sched
exit: Add and use make_task_dead.
2023-02-06 07:52:49 +01:00
soc
soundwire
spi
spi: Fix use-after-free with devm_spi_alloc_*
2021-05-14 09:44:20 +02:00
ssb
sunrpc
SUNRPC: ensure the matching upcall is in-flight upon downcall
2023-01-18 11:41:56 +01:00
ulpi
unaligned
usb
usb: typec: altmodes/displayport: correct pin assignment for UFP receptacles
2022-09-15 12:04:52 +02:00
wimax
8250_pci.h
a.out.h
acct.h
acpi.h
ACPI: tables: x86: Reserve memory occupied by ACPI tables
2021-05-07 10:51:36 +02:00
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
arm64: entry: Add vectors that have the bhb mitigation sequences
2022-03-19 13:40:15 +01: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()
2022-10-26 13:22:39 +02: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
block: return the correct bvec when checking for gaps
2021-07-14 16:53:48 +02:00
bit_spinlock.h
bitfield.h
bitfield.h: Fix "type of reg too small for mask" test
2022-07-29 17:14:18 +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-04-15 14:18:01 +02:00
blk-mq-pci.h
blk-mq-rdma.h
blk-mq-virtio.h
blk-mq.h
blk-pm.h
blk_types.h
blkdev.h
block: return ELEVATOR_DISCARD_MERGE if possible
2022-05-25 09:14:38 +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-06-14 18:11:34 +02:00
bpf_lirc.h
bpf_trace.h
bpf_types.h
bpf_verifier.h
bpf: Fix pointer arithmetic mask tightening under state pruning
2021-09-15 09:47:39 +02: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-09-15 12:04:49 +02: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-09-26 14:07:10 +02: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-07-21 20:59:17 +02:00
cgroup.h
memcg: fix possible use-after-free in memcg_write_event_control()
2022-12-14 11:30:43 +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-02-06 07:52:34 +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.h: Raise minimum version of GCC to 5.1 for arm64
2021-01-23 15:57:55 +01:00
compiler-intel.h
compiler.h
compiler.h: Introduce absolute_pointer macro
2021-09-30 10:09:25 +02:00
compiler_attributes.h
compiler_types.h
vmlinux.lds.h: Create section for protection against instrumentation
2021-02-17 10:35:16 +01:00
completion.h
component.h
configfs.h
connector.h
console.h
serial: core: Fix initializing and restoring termios speed
2021-11-17 09:48:25 +01:00
console_struct.h
vt: Fix character height handling with VT_RESIZEX
2021-05-26 12:05:20 +02:00
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-07 09:16:54 +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-06-22 14:11:12 +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
crypto - shash: reduce minimum alignment of shash_desc structure
2021-03-09 11:09:38 +01:00
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-01-18 11:40:56 +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-01-18 11:41:52 +01:00
devfreq_cooling.h
device-mapper.h
dm: remove special-casing of bio-based immutable singleton target on NVMe
2022-06-25 12:44:35 +02:00
device.h
PCI/MSI: Protect msi_desc::masked for multi-MSI
2021-08-18 08:57:03 +02:00
device_cgroup.h
devpts_fs.h
digsig.h
dim.h
linux/dim: Fix divide by 0 in RDMA DIM
2022-07-07 17:36:49 +02:00
dio.h
dirent.h
dlm.h
dlm_plock.h
dm-bufio.h
dm integrity: fix flush with external metadata device
2021-01-19 18:26:13 +01:00
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-02-25 11:53:25 +01: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
2022-10-26 13:22:37 +02:00
dynamic_queue_limits.h
earlycpio.h
ecryptfs.h
edac.h
edd.h
eeprom_93cx6.h
eeprom_93xx46.h
misc: eeprom_93xx46: Add quirk to support Microchip 93LC46B eeprom
2021-03-11 14:06:50 +01:00
efi-bgrt.h
efi.h
efi: random: reduce seed size to 32 bytes
2022-11-10 17:57:55 +01:00
efs_vh.h
eisa.h
elevator.h
kyber: fix out of bounds access when preempted
2021-05-19 10:08:30 +02:00
elf-fdpic.h
elf-randomize.h
elf.h
elfcore-compat.h
elfcore.h
elfcore: correct reference to CONFIG_UML
2021-10-27 09:54:27 +02:00
elfnote.h
enclosure.h
energy_model.h
PM: EM: Increase energy calculation precision
2021-09-15 09:47:33 +02:00
err.h
errno.h
error-injection.h
errqueue.h
errseq.h
etherdevice.h
etherdevice: Adjust ether_addr* prototypes to silence -Wstringop-overead
2022-04-27 13:50:45 +02:00
ethtool.h
eventfd.h
eventfd: change int to __u64 in eventfd_signal() ifndef CONFIG_EVENTFD
2023-01-18 11:40:58 +01:00
eventpoll.h
evm.h
export.h
exportfs.h
ext2_fs.h
extable.h
extcon-provider.h
extcon.h
extcon: Add stubs for extcon_register_notifier_all() functions
2021-04-07 14:47:43 +02:00
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-07-12 16:30:47 +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
2021-11-17 09:48:20 +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-01-18 11:40:55 +01:00
fs_context.h
devtmpfs regression fix: reconfigure on each mount
2022-01-20 09:19:17 +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
fscrypt: add fscrypt_symlink_getattr() for computing st_size
2021-09-12 08:56:38 +02:00
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-02-01 17:24:39 +01:00
fsnotify_backend.h
fsverity.h
ftrace.h
module/ftrace: handle patchable-function-entry
2022-02-23 11:59:56 +01: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-01-27 09:19:43 +01:00
hiddev.h
hidraw.h
highmem.h
mm/highmem: Lift memcpy_[to|from]_page to core
2023-01-18 11:41:55 +01:00
highuid.h
hil.h
hil_mlc.h
hippidevice.h
hmm.h
host1x.h
hp_sdc.h
hpet.h
hrtimer.h
hrtimer: Ensure timerfd notification for HIGHRES=n
2021-09-15 09:47:26 +02:00
hrtimer_defs.h
htcpld.h
huge_mm.h
mm/thp: make is_huge_zero_pmd() safe and quicker
2021-06-30 08:47:52 -04:00
hugetlb.h
hugetlb: check for undefined shift on 32 bit architectures
2023-02-22 12:50:39 +01:00
hugetlb_cgroup.h
hugetlb_inline.h
hw_breakpoint.h
hw_random.h
random: pull add_hwgenerator_randomness() declaration into random.h
2022-06-22 14:11:12 +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
i2c: Add I2C_AQ_NO_REP_START adapter quirk
2021-05-19 10:08:22 +02:00
i8042.h
i8253.h
icmp.h
icmpv6.h
net: icmp: pass zeroed opts from icmp{,v6}_ndo_send before sending
2021-03-04 10:26:53 +01:00
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-03-23 09:12:07 +01: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
macvlan: macvlan_count_rx() needs to be aware of preemption
2021-03-30 14:35:25 +02:00
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
net: igmp: increase size of mr_ifc_count
2021-08-18 08:57:01 +02:00
init.h
init_ohci1394_dma.h
init_task.h
initrd.h
inotify.h
input-polldev.h
input.h
integrity.h
intel-iommu.h
iommu/vt-d: Don't dereference iommu_device if IOMMU_API is not built
2021-02-03 23:26:01 +01:00
intel-ish-client-if.h
intel-pti.h
intel-svm.h
intel_rapl.h
intel_th.h
interconnect-provider.h
interconnect.h
interrupt.h
treewide: Replace DECLARE_TASKLET() with DECLARE_TASKLET_OLD()
2023-03-11 16:43:42 +01: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
ioc3.h
iocontext.h
iomap.h
iomap: iomap that extends beyond EOF should be marked dirty
2022-09-28 11:03:58 +02:00
iommu-helper.h
iommu.h
iommu: Add gfp parameter to iommu_ops::map
2023-02-22 12:50:31 +01:00
iopoll.h
ioport.h
ioprio.h
iova.h
iommu/iova: Fix module config properly
2022-10-26 13:22:46 +02:00
ip.h
ipack.h
ipc.h
ipc_namespace.h
shm: extend forced shm destroy to support objects from several IPC nses
2021-12-01 09:23:35 +01:00
ipmi-fru.h
ipmi.h
ipmi_smi.h
ipv6.h
ipv6: make mc_forwarding atomic
2022-04-15 14:18:32 +02:00
ipv6_route.h
irq.h
genirq: Provide IRQCHIP_AFFINITY_PRE_STARTUP
2021-08-18 08:57:02 +02:00
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
kdev_t: always inline major/minor helper functions
2021-01-09 13:44:54 +01:00
kern_levels.h
kernel-page-flags.h
kernel.h
panic: Consolidate open-coded panic_on_warn checks
2023-02-06 07:52:50 +01:00
kernel_stat.h
genirq: Fix the return type of kstat_cpu_irqs_sum()
2023-03-11 16:43:38 +01:00
kernelcapi.h
kernfs.h
kexec.h
kexec_file: drop weak attribute from arch_kexec_apply_relocations[_add]
2022-07-02 16:28:50 +02:00
key-type.h
key.h
certs: Fix blacklist flag type confusion
2021-03-04 10:26:29 +01:00
keyboard.h
keyctl.h
kfifo.h
kfifo: fix kfifo_to_user() return type
2022-08-25 11:18:04 +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
2021-12-08 09:01:10 +01:00
kref.h
ks0108.h
ks8842.h
ks8851_mll.h
ksm.h
kthread.h
kthread: Extract KTHREAD_IS_PER_CPU
2021-02-07 15:35:49 +01:00
ktime.h
kvm_host.h
x86/kvm/vmx: Make noinstr clean
2022-10-07 09:16:54 +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
2021-11-17 09:48:17 +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-09-22 12:26:20 +02: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
2021-11-17 09:48:16 +01:00
lz4.h
lzo.h
mailbox_client.h
mailbox_controller.h
mailbox: forward the hrtimer if not queued and under a lock
2022-06-14 18:11:42 +02:00
maple.h
marvell_phy.h
net: phy: marvell: fix detection of PHY on Topaz switches
2021-04-21 12:56:18 +02:00
math64.h
max17040_battery.h
mbcache.h
ext4: fix deadlock due to mbcache entry corruption
2023-01-18 11:41:56 +01:00
mbus.h
mc6821.h
mc146818rtc.h
rtc: mc146818-lib: Fix the AltCentury for AMD platforms
2022-05-25 09:14:32 +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-10-09 14:39:49 +02:00
mei_cl_bus.h
mem_encrypt.h
memblock.h
memblock: fix memblock_phys_alloc() section mismatch error
2022-01-05 12:37:44 +01:00
memcontrol.h
mm: memcontrol: fix occasional OOMs due to proportional memory.low reclaim
2021-08-26 08:36:22 -04:00
memfd.h
memory.h
memory_hotplug.h
mm/memory_hotplug: use "unsigned long" for PFN in zone_for_pfn_range()
2021-09-22 12:26:43 +02: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
mISDNdsp.h
mISDNhw.h
mISDNif.h
mm-arch-hooks.h
mm.h
mmap locking API: initial implementation as rwsem wrappers
2022-07-29 17:14:18 +02:00
mm_inline.h
mm_types.h
mm: fix struct page layout on 32-bit systems
2021-05-19 10:08:31 +02:00
mm_types_task.h
mman.h
mmap_lock.h
mmap locking API: initial implementation as rwsem wrappers
2022-07-29 17:14:18 +02:00
mmdebug.h
mm: Fix '.data.once' orphan section warning
2022-12-08 11:23:04 +01:00
mmiotrace.h
mmu_context.h
mmu_notifier.h
mmzone.h
arm: remove CONFIG_ARCH_HAS_HOLES_MEMORYMODEL
2022-05-15 19:54:46 +02:00
mnt_namespace.h
mod_devicetable.h
x86/cpu: Add a steppings field to struct x86_cpu_id
2022-10-07 09:16:54 +02:00
module.h
modules: inherit TAINT_PROPRIETARY_MODULE
2021-05-11 14:04:04 +02:00
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
PCI/MSI: Protect msi_desc::masked for multi-MSI
2021-08-18 08:57:03 +02:00
mutex.h
locking/mutex: Fix non debug version of mutex_lock_io_nested()
2021-03-30 14:35:29 +02:00
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-05-18 09:47:24 +02:00
netdevice.h
net: add atomic_long_t to net_device_stats fields
2023-01-18 11:41:37 +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: swap IO handling is slightly different for O_DIRECT IO
2022-04-15 14:18:35 +02: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-08-25 11:18:37 +02:00
node.h
nodemask.h
nodemask: Fix return values to be unsigned
2022-06-14 18:12:02 +02:00
nospec.h
uaccess: Add speculation barrier to copy_from_user()
2023-02-25 11:53:26 +01: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-01-18 11:41:43 +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
2021-12-08 09:01:08 +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
2022-11-01 19:06:42 +01:00
oom.h
mm, oom: make the calculation of oom badness more accurate
2021-09-03 10:08:12 +02:00
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
mm, futex: fix shared futex pgoff on shmem huge page
2021-06-30 08:47:55 -04:00
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-09-26 14:07:05 +02:00
pci-ep-cfs.h
pci-epc.h
pci-epf.h
pci-p2pdma.h
pci.h
PCI: Reduce warnings on possible RW1C corruption
2022-04-15 14:18:15 +02:00
pci_hotplug.h
pci_ids.h
PCI: Add defines for normal and subtractive PCI bridges
2022-08-25 11:17:25 +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-01-20 09:19:18 +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
PM: runtime: Fix unpaired parent child_count for force_resume
2021-05-19 10:08:20 +02:00
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-06-22 14:11:16 +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-01-18 11:41:02 +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-02-05 12:35:36 +01:00
psi_types.h
psi: Fix uaf issue when psi trigger is destroyed while being polled
2022-02-05 12:35:36 +01:00
psp-sev.h
pstore.h
pstore_ram.h
pti.h
ptp_classify.h
ptp_clock_kernel.h
ptp: improve max_adj check against unreasonable values
2021-06-23 14:41:26 +02:00
ptr_ring.h
ptrace.h
ptrace/xtensa: Replace PT_SINGLESTEP with TIF_SINGLESTEP
2022-06-14 18:11:24 +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-01-18 11:42:02 +01:00
radix-tree.h
raid_class.h
ramfs.h
random.h
random: always mix cycle counter in add_latent_entropy()
2023-02-25 11:53:25 +01:00
range.h
ras.h
ratelimit.h
random: quiet urandom warning ratelimit suppression message
2022-06-29 08:58:45 +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/nocb: Perform deferred wake up before last idle's need_resched() check
2021-03-04 10:26:47 +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-07-29 17:14:17 +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
2022-12-08 11:23:05 +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-09-05 10:27:46 +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
2021-11-17 09:48:44 +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-07-12 16:30:49 +02:00
rwlock.h
rwlock_api_smp.h
rwlock_types.h
rwsem.h
rwsem: Implement down_read_interruptible
2021-01-09 13:44:55 +01:00
s3c_adc_battery.h
sbitmap.h
scatterlist.h
scatterlist: add generic wrappers for iterating over sgtable objects
2023-02-25 11:53:25 +01:00
scc.h
sched.h
kernel/sched: Remove dl_boosted flag comment
2022-09-05 10:27:39 +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
lockdown: also lock down previous kgdb use
2022-06-06 08:33:48 +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
seqno-fence.h
serdev.h
serial.h
serial_8250.h
serial_bcm63xx.h
serial_core.h
serial: Create uart_xmit_advance()
2022-09-28 11:04:08 +02: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-06-22 14:11:16 +02:00
sirfsoc_dma.h
sizes.h
skb_array.h
skbuff.h
io_uring/af_unix: defer registered files gc to io_uring release
2022-10-26 13:22:59 +02:00
skmsg.h
bpf, sockmap: Fix sk->prot unhash op reset
2021-04-14 08:24:12 +02:00
slab.h
slab_def.h
slimbus.h
slub_def.h
sm501-regs.h
sm501.h
smc91x.h
smc911x.h
smp.h
smp: Fix smp_call_function_single_async prototype
2021-05-14 09:44:33 +02:00
smpboot.h
smsc911x.h
smscphy.h
sock_diag.h
socket.h
net: make get_net_ns return error if NET_NS is disabled
2021-06-23 14:41:25 +02:00
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-02-22 12:50:34 +01:00
stmp3xxx_rtc_wdt.h
stmp_device.h
stop_machine.h
stop_machine: mark helpers __always_inline
2021-03-17 17:03:56 +01:00
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-02-16 12:52:50 +01:00
svga.h
sw842.h
swab.h
swait.h
swap.h
swap: fix swapfile read/write offset
2021-03-07 12:20:49 +01:00
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-02-06 07:52:48 +01:00
sysfs.h
sysfs: Add sysfs_emit and sysfs_emit_at to format sysfs output
2021-03-07 12:20:48 +01:00
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
2022-10-26 13:22:26 +02:00
tee_drv.h
tee: export teedev_open() and teedev_close_context()
2022-03-02 11:41:04 +01:00
textsearch.h
textsearch_fsm.h
tfrc.h
thermal.h
thermal/core: Fix thermal_cooling_device_register() prototype
2021-09-26 14:07:10 +02:00
thread_info.h
kernel, fs: Introduce and use set_restart_fn() and arch_set_restart_data()
2021-03-24 11:26:44 +01:00
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
Revert "time: Handle negative seconds correctly in timespec64_to_ns()"
2021-09-16 12:56:13 +02:00
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-01-18 11:40:53 +01:00
timex.h
timekeeping: Add raw clock fallback for random_get_entropy()
2022-06-22 14:11:15 +02:00
tnum.h
topology.h
sched/topology: Make sched_init_numa() use a set for the deduplicating sort
2022-03-08 19:07:48 +01:00
torture.h
toshiba.h
tpm.h
tpm_command.h
tpm_eventlog.h
efi: tpm: Avoid READ_ONCE() for accessing the event log
2023-01-18 11:42:00 +01:00
trace.h
trace_clock.h
trace_events.h
trace_seq.h
tracefs.h
tracehook.h
tracepoint-defs.h
tracepoint.h
tracepoint: Add tracepoint_probe_register_may_exist() for BPF tracing
2021-07-14 16:53:08 +02:00
transport_class.h
ts-nbus.h
tsacct_kern.h
tty.h
tty_driver.h
tty: fix return value for unsupported ioctls
2021-05-14 09:44:22 +02:00
tty_flip.h
tty: use new tty_insert_flip_string_and_push_buffer() in pty_write()
2022-07-29 17:14:20 +02:00
tty_ldisc.h
typecheck.h
types.h
u64_stats_sync.h
u64_stats,lockdep: Fix u64_stats_init() vs lockdep
2021-03-30 14:35:22 +02:00
uaccess.h
uaccess: Add minimum bounds check on kernel buffer size
2023-03-11 16:43:56 +01:00
ucb1400.h
ucs2_string.h
udp.h
uidgid.h
uio.h
udp: fix skb_copy_and_csum_datagram with odd segment sizes
2021-02-17 10:35:19 +01:00
uio_driver.h
umh.h
unicode.h
uprobes.h
usb.h
usb: acpi: add helper to check port lpm capability using acpi _DSM
2023-01-24 07:17:59 +01:00
usb_usual.h
usb-storage: Add quirk to defeat Kindle's automatic unload
2021-03-24 11:26:40 +01:00
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-03-16 13:21:48 +01:00
virtio_byteorder.h
virtio_caif.h
virtio_config.h
virtio: acknowledge all features before access
2022-03-16 13:21:48 +01:00
virtio_console.h
virtio_net.h
net: skip virtio_net_hdr_set_proto if protocol already set
2021-12-29 12:23:34 +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-08-25 11:17:29 +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
XArray: add xas_split
2021-06-10 13:37:14 +02:00
xattr.h
xxhash.h
xz.h
yam.h
z2_battery.h
zbud.h
zconf.h
zlib.h
zorro.h
zpool.h
zsmalloc.h
zsmalloc: account the number of compacted pages correctly
2021-03-07 12:20:49 +01:00
zstd.h
zutil.h