Revision 27de809a3d83a6199664479ebb19712533d6fd9b authored by Björn Töpel on 28 October 2021, 12:51:15 UTC, committed by Jakub Kicinski on 28 October 2021, 15:14:30 UTC
The bpf_jit_binary_free() function requires a non-NULL argument. When the RISC-V BPF JIT fails to converge in NR_JIT_ITERATIONS steps, jit_data->header will be NULL, which triggers a NULL dereference. Avoid this by checking the argument, prior calling the function. Fixes: ca6cb5447cec ("riscv, bpf: Factor common RISC-V JIT code") Signed-off-by: Björn Töpel <bjorn@kernel.org> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/r/20211028125115.514587-1-bjorn@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 20af886
File | Mode | Size |
---|---|---|
acpica | ||
apei | ||
arm64 | ||
dptf | ||
nfit | ||
numa | ||
pmic | ||
x86 | ||
Kconfig | -rw-r--r-- | 17.7 KB |
Makefile | -rw-r--r-- | 3.6 KB |
ac.c | -rw-r--r-- | 8.3 KB |
acpi_adxl.c | -rw-r--r-- | 4.7 KB |
acpi_amba.c | -rw-r--r-- | 3.1 KB |
acpi_apd.c | -rw-r--r-- | 6.3 KB |
acpi_cmos_rtc.c | -rw-r--r-- | 2.0 KB |
acpi_configfs.c | -rw-r--r-- | 6.5 KB |
acpi_dbg.c | -rw-r--r-- | 17.8 KB |
acpi_extlog.c | -rw-r--r-- | 8.3 KB |
acpi_fpdt.c | -rw-r--r-- | 6.5 KB |
acpi_ipmi.c | -rw-r--r-- | 16.5 KB |
acpi_lpat.c | -rw-r--r-- | 4.0 KB |
acpi_lpit.c | -rw-r--r-- | 4.2 KB |
acpi_lpss.c | -rw-r--r-- | 35.4 KB |
acpi_memhotplug.c | -rw-r--r-- | 9.6 KB |
acpi_pad.c | -rw-r--r-- | 11.8 KB |
acpi_platform.c | -rw-r--r-- | 4.7 KB |
acpi_pnp.c | -rw-r--r-- | 13.6 KB |
acpi_processor.c | -rw-r--r-- | 22.7 KB |
acpi_tad.c | -rw-r--r-- | 15.3 KB |
acpi_video.c | -rw-r--r-- | 59.2 KB |
acpi_watchdog.c | -rw-r--r-- | 4.5 KB |
battery.c | -rw-r--r-- | 37.5 KB |
bgrt.c | -rw-r--r-- | 2.3 KB |
blacklist.c | -rw-r--r-- | 3.7 KB |
bus.c | -rw-r--r-- | 35.2 KB |
button.c | -rw-r--r-- | 17.2 KB |
container.c | -rw-r--r-- | 2.6 KB |
cppc_acpi.c | -rw-r--r-- | 40.5 KB |
custom_method.c | -rw-r--r-- | 2.1 KB |
debugfs.c | -rw-r--r-- | 391 bytes |
device_pm.c | -rw-r--r-- | 38.9 KB |
device_sysfs.c | -rw-r--r-- | 16.1 KB |
dock.c | -rw-r--r-- | 16.3 KB |
ec.c | -rw-r--r-- | 58.4 KB |
ec_sys.c | -rw-r--r-- | 3.1 KB |
event.c | -rw-r--r-- | 4.2 KB |
evged.c | -rw-r--r-- | 4.6 KB |
fan.c | -rw-r--r-- | 12.2 KB |
fan.h | -rw-r--r-- | 414 bytes |
glue.c | -rw-r--r-- | 8.1 KB |
hed.c | -rw-r--r-- | 1.9 KB |
internal.h | -rw-r--r-- | 9.3 KB |
ioapic.c | -rw-r--r-- | 5.9 KB |
irq.c | -rw-r--r-- | 9.0 KB |
nvs.c | -rw-r--r-- | 4.6 KB |
osi.c | -rw-r--r-- | 13.1 KB |
osl.c | -rw-r--r-- | 42.9 KB |
pci_irq.c | -rw-r--r-- | 13.1 KB |
pci_link.c | -rw-r--r-- | 22.9 KB |
pci_mcfg.c | -rw-r--r-- | 9.1 KB |
pci_root.c | -rw-r--r-- | 25.6 KB |
pci_slot.c | -rw-r--r-- | 4.7 KB |
platform_profile.c | -rw-r--r-- | 4.1 KB |
power.c | -rw-r--r-- | 26.3 KB |
pptt.c | -rw-r--r-- | 23.9 KB |
prmt.c | -rw-r--r-- | 8.2 KB |
proc.c | -rw-r--r-- | 3.4 KB |
processor_core.c | -rw-r--r-- | 9.1 KB |
processor_driver.c | -rw-r--r-- | 8.8 KB |
processor_idle.c | -rw-r--r-- | 35.1 KB |
processor_pdc.c | -rw-r--r-- | 4.6 KB |
processor_perflib.c | -rw-r--r-- | 18.9 KB |
processor_thermal.c | -rw-r--r-- | 5.9 KB |
processor_throttling.c | -rw-r--r-- | 30.2 KB |
property.c | -rw-r--r-- | 36.8 KB |
reboot.c | -rw-r--r-- | 2.0 KB |
resource.c | -rw-r--r-- | 22.6 KB |
sbs.c | -rw-r--r-- | 19.0 KB |
sbshc.c | -rw-r--r-- | 7.1 KB |
sbshc.h | -rw-r--r-- | 946 bytes |
scan.c | -rw-r--r-- | 65.8 KB |
sleep.c | -rw-r--r-- | 25.7 KB |
sleep.h | -rw-r--r-- | 916 bytes |
spcr.c | -rw-r--r-- | 5.9 KB |
sysfs.c | -rw-r--r-- | 26.5 KB |
tables.c | -rw-r--r-- | 23.1 KB |
thermal.c | -rw-r--r-- | 31.0 KB |
tiny-power-button.c | -rw-r--r-- | 1.2 KB |
utils.c | -rw-r--r-- | 25.2 KB |
video_detect.c | -rw-r--r-- | 14.7 KB |
viot.c | -rw-r--r-- | 8.7 KB |
wakeup.c | -rw-r--r-- | 4.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...