summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Ben Hutchings [Mon, 11 Jan 2016 15:23:55 +0000 (15:23 +0000)]
security,perf: Allow further restriction of perf_event_open
Forwarded: https://lkml.org/lkml/2016/1/11/587
When kernel.perf_event_open is set to 3 (or greater), disallow all
access to performance events by users without CAP_SYS_ADMIN.
Add a Kconfig symbol CONFIG_SECURITY_PERF_EVENTS_RESTRICT that
makes this value the default.
This is based on a similar feature in grsecurity
(CONFIG_GRKERNSEC_PERF_HARDEN). This version doesn't include making
the variable read-only. It also allows enabling further restriction
at run-time regardless of whether the default is changed.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic features/all
Gbp-Pq: Name security-perf-allow-further-restriction-of-perf_event_open.patch
Serge Hallyn [Fri, 31 May 2013 18:12:12 +0000 (19:12 +0100)]
add sysctl to disallow unprivileged CLONE_NEWUSER by default
Origin: http://kernel.ubuntu.com/git?p=serge%2Fubuntu-saucy.git;a=commit;h=
5c847404dcb2e3195ad0057877e1422ae90892b8
add sysctl to disallow unprivileged CLONE_NEWUSER by default
This is a short-term patch. Unprivileged use of CLONE_NEWUSER
is certainly an intended feature of user namespaces. However
for at least saucy we want to make sure that, if any security
issues are found, we have a fail-safe.
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
[bwh: Remove unneeded binary sysctl bits]
[bwh: Keep this sysctl, but change the default to enabled]
Gbp-Pq: Topic debian
Gbp-Pq: Name add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by-default.patch
Ben Hutchings [Wed, 19 Jun 2013 03:35:28 +0000 (04:35 +0100)]
yama: Disable by default
Bug-Debian: https://bugs.debian.org/712740
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name yama-disable-by-default.patch
Ben Hutchings [Wed, 16 Mar 2011 03:17:06 +0000 (03:17 +0000)]
sched: Do not enable autogrouping by default
Forwarded: not-needed
We want to provide the option of autogrouping but without enabling
it by default yet.
Gbp-Pq: Topic debian
Gbp-Pq: Name sched-autogroup-disabled.patch
Ben Hutchings [Fri, 2 Nov 2012 05:32:06 +0000 (05:32 +0000)]
fs: Enable link security restrictions by default
Bug-Debian: https://bugs.debian.org/609455
Forwarded: not-needed
This reverts commit
561ec64ae67ef25cac8d72bb9c4bfc955edfd415
('VFS: don't do protected {sym,hard}links by default').
Gbp-Pq: Topic debian
Gbp-Pq: Name fs-enable-link-security-restrictions-by-default.patch
Ben Hutchings [Sun, 4 Aug 2019 23:29:11 +0000 (00:29 +0100)]
hamradio: Disable auto-loading as mitigation against local exploits
Forwarded: not-needed
We can mitigate the effect of vulnerabilities in obscure protocols by
preventing unprivileged users from loading the modules, so that they
are only exploitable on systems where the administrator has chosen to
load the protocol.
The 'ham' radio protocols (ax25, netrom, rose) are not actively
maintained or widely used. Therefore disable auto-loading.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic debian
Gbp-Pq: Name hamradio-disable-auto-loading-as-mitigation-against-local-exploits.patch
Ben Hutchings [Thu, 16 Feb 2017 19:09:17 +0000 (19:09 +0000)]
dccp: Disable auto-loading as mitigation against local exploits
Forwarded: not-needed
We can mitigate the effect of vulnerabilities in obscure protocols by
preventing unprivileged users from loading the modules, so that they
are only exploitable on systems where the administrator has chosen to
load the protocol.
The 'dccp' protocol is not actively maintained or widely used.
Therefore disable auto-loading.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic debian
Gbp-Pq: Name dccp-disable-auto-loading-as-mitigation-against-local-exploits.patch
Ben Hutchings [Sat, 20 Nov 2010 02:24:55 +0000 (02:24 +0000)]
[PATCH] decnet: Disable auto-loading as mitigation against local exploits
Forwarded: not-needed
Recent review has revealed several bugs in obscure protocol
implementations that can be exploited by local users for denial of
service or privilege escalation. We can mitigate the effect of any
remaining vulnerabilities in such protocols by preventing unprivileged
users from loading the modules, so that they are only exploitable on
systems where the administrator has chosen to load the protocol.
The 'decnet' protocol is unmaintained and of mostly historical
interest, and the user-space support package 'dnet-common' loads the
module explicitly. Therefore disable auto-loading.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic debian
Gbp-Pq: Name decnet-Disable-auto-loading-as-mitigation-against-lo.patch
Ben Hutchings [Fri, 19 Nov 2010 02:12:48 +0000 (02:12 +0000)]
[PATCH 1/3] rds: Disable auto-loading as mitigation against local exploits
Forwarded: not-needed
Recent review has revealed several bugs in obscure protocol
implementations that can be exploited by local users for denial of
service or privilege escalation. We can mitigate the effect of any
remaining vulnerabilities in such protocols by preventing unprivileged
users from loading the modules, so that they are only exploitable on
systems where the administrator has chosen to load the protocol.
The 'rds' protocol is one such protocol that has been found to be
vulnerable, and which was not present in the 'lenny' kernel.
Therefore disable auto-loading.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic debian
Gbp-Pq: Name rds-Disable-auto-loading-as-mitigation-against-local.patch
Ben Hutchings [Fri, 19 Nov 2010 02:12:48 +0000 (02:12 +0000)]
[PATCH 2/3] af_802154: Disable auto-loading as mitigation against local exploits
Forwarded: not-needed
Recent review has revealed several bugs in obscure protocol
implementations that can be exploited by local users for denial of
service or privilege escalation. We can mitigate the effect of any
remaining vulnerabilities in such protocols by preventing unprivileged
users from loading the modules, so that they are only exploitable on
systems where the administrator has chosen to load the protocol.
The 'af_802154' (IEEE 802.15.4) protocol is not widely used, was
not present in the 'lenny' kernel, and seems to receive only sporadic
maintenance. Therefore disable auto-loading.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic debian
Gbp-Pq: Name af_802154-Disable-auto-loading-as-mitigation-against.patch
Ben Hutchings [Mon, 12 Mar 2018 01:14:03 +0000 (01:14 +0000)]
firmware_class: Refer to Debian wiki page when logging missing firmware
Bug-Debian: https://bugs.debian.org/888405
Forwarded: not-needed
If firmware loading fails due to a missing file, log a second error
message referring to our wiki page about firmware. This will explain
why some firmware is in non-free, or can't be packaged at all. Only
do this once per boot.
Do something similar in the radeon and amdgpu drivers, where we have
an early check to avoid failing at a point where we cannot display
anything.
Gbp-Pq: Topic debian
Gbp-Pq: Name firmware_class-refer-to-debian-wiki-firmware-page.patch
Ben Hutchings [Tue, 8 Jan 2013 03:25:52 +0000 (03:25 +0000)]
radeon, amdgpu: Firmware is required for DRM and KMS on R600 onward
Bug-Debian: https://bugs.debian.org/607194
Bug-Debian: https://bugs.debian.org/607471
Bug-Debian: https://bugs.debian.org/610851
Bug-Debian: https://bugs.debian.org/627497
Bug-Debian: https://bugs.debian.org/632212
Bug-Debian: https://bugs.debian.org/637943
Bug-Debian: https://bugs.debian.org/649448
Bug-Debian: https://bugs.debian.org/697229
Forwarded: no
radeon requires firmware/microcode for the GPU in all chips, but for
newer chips (apparently R600 'Evergreen' onward) it also expects
firmware for the memory controller and other sub-blocks.
radeon attempts to gracefully fall back and disable some features if
the firmware is not available, but becomes unstable - the framebuffer
and/or system memory may be corrupted, or the display may stay black.
Therefore, perform a basic check for the existence of
/lib/firmware/{radeon,amdgpu} when a device is probed, and abort if it
is missing, except for the pre-R600 case.
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name radeon-amdgpu-firmware-is-required-for-drm-and-kms-on-r600-onward.patch
Ben Hutchings [Sun, 9 Dec 2012 16:40:31 +0000 (16:40 +0000)]
firmware: Remove redundant log messages from drivers
Forwarded: no
Now that firmware_class logs every success and failure consistently,
many other log messages can be removed from drivers.
This will probably need to be split up into multiple patches prior to
upstream submission.
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name firmware-remove-redundant-log-messages-from-drivers.patch
Ben Hutchings [Sun, 9 Dec 2012 16:02:00 +0000 (16:02 +0000)]
firmware_class: Log every success and failure against given device
Forwarded: no
The hundreds of users of request_firmware() have nearly as many
different log formats for reporting failures. They also have only the
vaguest hint as to what went wrong; only firmware_class really knows
that. Therefore, add specific log messages for the failure modes that
aren't currently logged.
In case of a driver that tries multiple names, this may result in the
impression that it failed to initialise. Therefore, also log successes.
This makes many error messages in drivers redundant, which will be
removed in later patches.
This does not cover the case where we fall back to a user-mode helper
(which is no longer enabled in Debian).
NOTE: hw-detect will depend on the "firmware: failed to load %s (%d)\n"
format to detect missing firmware.
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name firmware_class-log-every-success-and-failure.patch
Ben Hutchings [Sat, 30 Jan 2021 20:38:57 +0000 (20:38 +0000)]
iwlwifi: Do not request unreleased firmware for IWL6000
Bug-Debian: https://bugs.debian.org/689416
Forwarded: not-needed
The iwlwifi driver currently supports firmware API versions 4-6 for
these devices. It will request the file for the latest supported
version and then fall back to earlier versions. However, the latest
version that has actually been released is 4, so we expect the
requests for versions 6 and then 5 to fail.
The installer appears to report any failed request, and it is probably
not easy to detect that this particular failure is harmless. So stop
requesting the unreleased firmware.
Gbp-Pq: Topic debian
Gbp-Pq: Name iwlwifi-do-not-request-unreleased-firmware.patch
Ben Hutchings [Mon, 24 Aug 2009 22:19:58 +0000 (23:19 +0100)]
af9005: Use request_firmware() to load register init script
Forwarded: no
Read the register init script from the Windows driver. This is sick
but should avoid the potential copyright infringement in distributing
a version of the script which is directly derived from the driver.
Gbp-Pq: Topic features/all
Gbp-Pq: Name drivers-media-dvb-usb-af9005-request_firmware.patch
Ben Hutchings [Thu, 10 Dec 2020 16:31:39 +0000 (17:31 +0100)]
kbuild: Look for module.lds under arch directory too
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/975571
The module.lds linker script is now built under the scripts directory,
where previously it was under arch/$(SRCARCH).
However, we package the scripts directory as linux-kbuild, which is
meant to be able to do support native and cross-builds. That means it
shouldn't contain files for a specific target architecture without a
wrapper to select between them, and it doesn't appear that linker
scripts are powerful enough to implement such a wrapper.
Building module.lds in a different location would require relatively
large changes. Moving it in the package build rules can work, but we
need to support custom kernel builds from the same source so we can't
assume it's moved.
Therefore, we move module.lds under the arch build directory in
rules.real and change Makefile.modfinal to look for it in both places.
Gbp-Pq: Topic debian
Gbp-Pq: Name kbuild-look-for-module.lds-under-arch-directory-too.patch
Bastian Blank [Tue, 4 Aug 2020 09:44:37 +0000 (09:44 +0000)]
[PATCH 2/2] perf/traceevent: Support asciidoctor for documentation
From
cd02fc78859ef9aefd7c92406f9523622da0b472 Mon Sep 17 00:00:00 2001
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name perf-traceevent-support-asciidoctor-for-documentatio.patch
Bastian Blank [Tue, 4 Aug 2020 09:44:19 +0000 (09:44 +0000)]
[PATCH 1/2] Documentation: Drop sphinx version check
From
252aa79fdbd4ac2da09d9b98f81bf11f5e3e1870 Mon Sep 17 00:00:00 2001
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name documentation-drop-sphinx-version-check.patch
Ben Hutchings [Fri, 22 Jun 2018 16:27:00 +0000 (17:27 +0100)]
android: Enable building ashmem and binder as modules
Bug-Debian: https://bugs.debian.org/901492
We want to enable use of the Android ashmem and binder drivers to
support Anbox, but they should not be built-in as that would waste
resources and increase security attack surface on systems that don't
need them.
- Add a MODULE_LICENSE declaration to ashmem
- Change the Makefiles to build each driver as an object with the
"_linux" suffix (which is what Anbox expects)
- Change config symbol types to tristate
Gbp-Pq: Topic debian
Gbp-Pq: Name android-enable-building-ashmem-and-binder-as-modules.patch
Ben Hutchings [Mon, 7 Sep 2020 01:51:53 +0000 (02:51 +0100)]
Export symbols needed by Android drivers
Bug-Debian: https://bugs.debian.org/901492
We want to enable use of the Android ashmem and binder drivers to
support Anbox, but they should not be built-in as that would waste
resources and increase security attack surface on systems that don't
need them.
Export the currently un-exported symbols they depend on.
Gbp-Pq: Topic debian
Gbp-Pq: Name export-symbols-needed-by-android-drivers.patch
Ben Hutchings [Fri, 13 Apr 2018 19:10:28 +0000 (20:10 +0100)]
wireless: Add Debian wireless-regdb certificates
Forwarded: not-needed
This hex dump is generated using:
{
for cert in debian/certs/wireless-regdb-*.pem; do
openssl x509 -in $cert -outform der;
done
} | hexdump -v -e '1/1 "0x%.2x," "\n"' > net/wireless/certs/debian.hex
Gbp-Pq: Topic debian
Gbp-Pq: Name wireless-add-debian-wireless-regdb-certificates.patch
Bastian Blank [Fri, 7 Oct 2011 20:37:52 +0000 (21:37 +0100)]
Install perf scripts non-executable
Forwarded: no
[bwh: Forward-ported to 4.13]
Gbp-Pq: Topic debian
Gbp-Pq: Name tools-perf-install.patch
Bastian Blank [Mon, 26 Sep 2011 12:53:12 +0000 (13:53 +0100)]
Create manpages and binaries including the version
Forwarded: no
[bwh: Fix version insertion in perf man page cross-references and perf
man page title. Install bash_completion script for perf with a
version-dependent name. And do the same for trace.]
Gbp-Pq: Topic debian
Gbp-Pq: Name tools-perf-version.patch
Nobuhiro Iwamatsu [Sat, 30 Jan 2021 20:38:57 +0000 (20:38 +0000)]
[sh4] Fix uImage build
Bug-Debian: https://bugs.debian.org/569034
Forwarded: not-needed
[bwh: This was added without a description, but I think it is done
only to avoid a build-dependency on u-boot-tools.]
Gbp-Pq: Topic debian
Gbp-Pq: Name arch-sh4-fix-uimage-build.patch
YunQiang Su [Mon, 16 Nov 2020 01:11:00 +0000 (09:11 +0800)]
Use RELAXED ieee754 mode for Loongson-3 as 3A 4000 is 2008-only
Forwarded: not-needed
There are 2 mode of value of IEEE NaN hardcoded by CPU.
Currently, our mipsel/mips64el port is in so-called lagacy mode.
Loongson 3A 4000 is set as the so-called 2008 mode.
To make Debian workable on Loongson 3A 4000, we need set the kerenl in
RELAXED mode.
https://web.archive.org/web/
20180830093617/https://dmz-portal.mips.com/wiki/MIPS_ABI_-_NaN_Interlinking
Gbp-Pq: Topic debian
Gbp-Pq: Name mips-ieee754-relaxed.patch
YunQiang Su [Mon, 14 May 2018 08:16:18 +0000 (16:16 +0800)]
Disable uImage generation for mips generic
Forwarded: not-needed
MIPS generic trys to generate uImage when build, which then ask for
u-boot-tools.
Gbp-Pq: Topic debian
Gbp-Pq: Name mips-boston-disable-its.patch
Ben Hutchings [Mon, 13 Sep 2010 01:16:18 +0000 (02:16 +0100)]
[PATCH] Partially revert "MIPS: Add -Werror to arch/mips/Kbuild"
Forwarded: not-needed
This reverts commits
66f9ba101f54bda63ab1db97f9e9e94763d0651b and
5373633cc9253ba82547473e899cab141c54133e.
We really don't want to add -Werror anywhere.
Gbp-Pq: Topic debian
Gbp-Pq: Name mips-disable-werror.patch
dann frazier [Mon, 26 Mar 2007 22:30:51 +0000 (16:30 -0600)]
Hardcode arch script output
Bug-Debian: https://bugs.debian.org/392592
Forwarded: not-needed
Here's a patch that simply uses hardcoded definitions instead of
doing the dynamic tests that require architecture-specific scripts.
I don't particularly like this approach because it restricts
portability and diverts from upstream. But, it is simpler, and this
really needs to be fixed somehow before etch (along with a rebuild of
linux-modules-extra-2.6), so I'm willing to live with it if my other
patch is deemed unacceptable.
My primary concern is that, in the future, the output of these scripts
will change and we (or our successors) will either not notice or
forget to update the hardcoded values.
Including the scripts in linux-kbuild will avoid this manual step
altogether, and allow for the possibility of other archs to provide
their own scripts in the future.
Gbp-Pq: Topic debian
Gbp-Pq: Name ia64-hardcode-arch-script-output.patch
Bastian Blank [Sun, 22 Feb 2009 14:39:35 +0000 (15:39 +0100)]
kbuild: Make the toolchain variables easily overwritable
Forwarded: not-needed
Allow make variables to be overridden for each flavour by a file in
the build tree, .kernelvariables.
We currently use this for ARCH, KERNELRELEASE, CC, and in some cases
also CROSS_COMPILE, KCFLAGS.
This file can only be read after we establish the build tree, and all
use of $(ARCH) needs to be moved after this.
[bwh: Updated for 5.3: include .kernelvariables from current directory
rather than using undefined $(obj).]
Gbp-Pq: Topic debian
Gbp-Pq: Name kernelvariables.patch
Ben Hutchings [Tue, 12 May 2015 18:29:22 +0000 (19:29 +0100)]
Make mkcompile_h accept an alternate timestamp string
Forwarded: not-needed
We want to include the Debian version in the utsname::version string
instead of a full timestamp string. However, we still need to provide
a standard timestamp string for gen_initramfs_list.sh to make the
kernel image reproducible.
Make mkcompile_h use $KBUILD_BUILD_VERSION_TIMESTAMP in preference to
$KBUILD_BUILD_TIMESTAMP.
Gbp-Pq: Topic debian
Gbp-Pq: Name uname-version-timestamp.patch
Ben Hutchings [Tue, 24 Jul 2012 02:13:10 +0000 (03:13 +0100)]
Include package version along with kernel release in stack traces
Forwarded: not-needed
For distribution binary packages we assume
$DISTRIBUTION_OFFICIAL_BUILD, $DISTRIBUTOR and $DISTRIBUTION_VERSION
are set.
Gbp-Pq: Topic debian
Gbp-Pq: Name version.patch
Ben Hutchings [Sat, 24 Aug 2019 18:00:41 +0000 (19:00 +0100)]
Documentation: Fix broken link to CIPSO draft
Forwarded: not-needed
We exclude the CIPSO draft text as its licence is not DFSG compliant.
Link to the IETF's online version instead.
Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name documentation-fix-broken-link-to-cipso-draft.patch
Ben Hutchings [Sat, 2 Jun 2012 18:53:38 +0000 (19:53 +0100)]
video: Remove nvidiafb and rivafb
Bug-Debian: https://bugs.debian.org/383481
Forwarded: no
These drivers contain register programming code provided by the
hardware vendor that appears to have been deliberately obfuscated.
This is arguably not the preferred form for modification.
These drivers are also largely redundant with nouveau. The RIVA 128
(NV3) is not supported by nouveau but is about 15 years old and
probably discontinued 10 years ago.
Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name video-remove-nvidiafb-and-rivafb.patch
Frederik Schüler [Fri, 5 Jan 2007 15:55:24 +0000 (15:55 +0000)]
Add removal patches for: 3c359, smctr, keyspan, cops
Forwarded: not-needed
Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name drivers-net-appletalk-cops.patch
Ben Hutchings [Sun, 27 May 2012 00:56:58 +0000 (01:56 +0100)]
vs6624: mark as broken
Forwarded: not-needed
Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name vs6624-disable.patch
Ben Hutchings [Mon, 17 Aug 2009 01:45:41 +0000 (02:45 +0100)]
dvb-usb-af9005: mark as broken
Forwarded: not-needed
Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name drivers-media-dvb-dvb-usb-af9005-disable.patch
Ben Hutchings [Mon, 13 Apr 2009 16:34:00 +0000 (17:34 +0100)]
Remove microcode patches for mgsuvd (not enabled in Debian configs)
Forwarded: not-needed
Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name arch-powerpc-platforms-8xx-ucode-disable.patch
Ian Campbell [Thu, 17 Jan 2013 08:55:21 +0000 (08:55 +0000)]
Tweak gitignore for Debian pkg-kernel using git svn.
Forwarded: not-needed
[bwh: Tweak further for pure git]
Gbp-Pq: Topic debian
Gbp-Pq: Name gitignore.patch
Salvatore Bonaccorso [Sat, 30 Jan 2021 20:38:57 +0000 (20:38 +0000)]
linux (5.10.12-1) unstable; urgency=medium
* New upstream stable update:
https://www.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.10.10
- [x86] hyperv: Initialize clockevents after LAPIC is initialized
- bpf: Fix signed_{sub,add32}_overflows type handling
- nfsd4: readdirplus shouldn't return parent of export (CVE-2021-3178)
- bpf: Don't leak memory in bpf getsockopt when optlen == 0
- bpf: Support PTR_TO_MEM{,_OR_NULL} register spilling
- bpf: Fix helper bpf_map_peek_elem_proto pointing to wrong callback
- net: fix use-after-free when UDP GRO with shared fraglist
- udp: Prevent reuseport_select_sock from reading uninitialized socks
- netxen_nic: fix MSI/MSI-x interrupts
- net: ipv6: Validate GSO SKB before finish IPv6 processing
- tipc: fix NULL deref in tipc_link_xmit()
- [arm64,armhf] net: mvpp2: Remove Pause and Asym_Pause support
- rndis_host: set proper input size for OID_GEN_PHYSICAL_MEDIUM request
- esp: avoid unneeded kmap_atomic call
- net: dcb: Validate netlink message in DCB handler
- net: dcb: Accept RTM_GETDCB messages carrying set-like DCB commands
- rxrpc: Call state should be read with READ_ONCE() under some
circumstances
- i40e: fix potential NULL pointer dereferencing
- [arm64,armhf] net: stmmac: Fixed mtu channged by cache aligned
- net: sit: unregister_netdevice on newlink's error path
- [arm64,armhf] net: stmmac: fix taprio schedule configuration
- [arm64,armhf] net: stmmac: fix taprio configuration when base_time is in
the past
- net: avoid 32 x truesize under-estimation for tiny skbs
- net: phy: smsc: fix clk error handling
- [arm64,armhf] net: dsa: clear devlink port type before unregistering
slave netdevs
- rxrpc: Fix handling of an unsupported token type in rxrpc_read()
- [arm64,armhf] net: stmmac: use __napi_schedule() for PREEMPT_RT
- [armhf] drm/panel: otm8009a: allow using non-continuous dsi clock
- mac80211: do not drop tx nulldata packets on encrypted links
- mac80211: check if atf has been disabled in __ieee80211_schedule_txq
- [arm64,armhf] net: dsa: unbind all switches from tree when DSA master
unbinds
https://www.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.10.11
- scsi: target: tcmu: Fix use-after-free of se_cmd->priv
- [armhf] mtd: rawnand: gpmi: fix dst bit offset when extracting raw
payload
- mtd: rawnand: nandsim: Fix the logic when selecting Hamming soft ECC
engine
- [arm64,armhf] i2c: tegra: Wait for config load atomically while in ISR
- [x86] platform/x86: i2c-multi-instantiate: Don't create platform device
for INT3515 ACPI nodes
- [x86] platform/x86: ideapad-laptop: Disable touchpad_switch for ELAN0634
- ALSA: hda/realtek - Limit int mic boost on Acer Aspire E5-575T
- ALSA: hda/via: Add minimum mute flag
- crypto: xor - Fix divide error in do_xor_speed()
- dm crypt: fix copy and paste bug in crypt_alloc_req_aead
- ACPI: scan: Make acpi_bus_get_device() clear return pointer on error
- btrfs: don't get an EINTR during drop_snapshot for reloc
- btrfs: do not double free backref nodes on error
- btrfs: fix lockdep splat in btrfs_recover_relocation
- btrfs: don't clear ret in btrfs_start_dirty_block_groups
- btrfs: send: fix invalid clone operations when cloning from the same
file and root
- fs: fix lazytime expiration handling in __writeback_single_inode()
- mmc: core: don't initialize block size from ext_csd if not present
- [arm64] mmc: sdhci-xenon: fix 1.8v regulator stabilization
- dm: avoid filesystem lookup in dm_get_dev_t()
- dm integrity: fix a crash if "recalculate" used without "internal_hash"
- dm integrity: conditionally disable "recalculate" feature
- drm/atomic: put state on error path
- drm/syncobj: Fix use-after-free
- drm/amdgpu: remove gpu info firmware of green sardine
- [x86] drm/i915/gt: Prevent use of engine->wa_ctx after error
- [x86] drm/i915: Check for rq->hwsp validity after acquiring RCU lock
- ASoC: rt711: mutex between calibration and power state changes
- SUNRPC: Handle TCP socket sends with kernel_sendpage() again
- HID: multitouch: Enable multi-input for Synaptics pointstick/touchpad
device
- dm integrity: select CRYPTO_SKCIPHER
- [x86] hyperv: Fix kexec panic/hang issues
- scsi: ufs: Relax the condition of UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL
- scsi: ufs: Correct the LUN used in eh_device_reset_handler() callback
- scsi: qedi: Correct max length of CHAP secret
- scsi: scsi_debug: Fix memleak in scsi_debug_init()
- scsi: sd: Suppress spurious errors when WRITE SAME is being disabled
- [riscv64] Fix kernel time_init()
- [riscv64] Fix sifive serial driver
- [riscv64] Enable interrupts during syscalls with M-Mode
- HID: logitech-dj: add the G602 receiver
- HID: Ignore battery for Elan touchscreen on ASUS UX550
- [arm64,armhf] ALSA: hda/tegra: fix tegra-hda on tegra30 soc
- [riscv64] cacheinfo: Fix using smp_processor_id() in preemptible
- [arm64] make atomic helpers __always_inline
- xen: Fix event channel callback via INTX/GSI
- [x86] xen: Add xen_no_vector_callback option to test PCI INTX delivery
- [x86] xen: Fix xen_hvm_smp_init() when vector callback not available
- [riscv64] dts: phy: fix missing mdio device and probe failure of
vsc8541-01 device
- [riscv64] dts: phy: add GPIO number and active state used for phy reset
- drm/amdgpu/psp: fix psp gfx ctrl cmds
- HID: logitech-hidpp: Add product ID for MX Ergo in Bluetooth mode
- drm/nouveau/bios: fix issue shadowing expansion ROMs
- drm/nouveau/privring: ack interrupts the same way as RM
- drm/nouveau/i2c/gm200: increase width of aux semaphore owner fields
- drm/nouveau/mmu: fix vram heap sizing
- drm/nouveau/kms/nv50-: fix case where notifier buffer is at offset 0
- io_uring: flush timeouts that should already have expired
- [riscv64] Set current memblock limit
- [riscv64] Fix maximum allowed phsyical memory for RV32
- nfsd: Fixes for nfsd4_encode_read_plus_data()
- nfsd: Don't set eof on a truncated READ_PLUS
- gpiolib: cdev: fix frame size warning in gpio_ioctl()
- [armhf] pinctrl: aspeed: g6: Fix PWMG0 pinctrl setting
- RDMA/ucma: Do not miss ctx destruction steps in some cases
- btrfs: print the actual offset in btrfs_root_name
- scsi: megaraid_sas: Fix MEGASAS_IOC_FIRMWARE regression
- scsi: ufs: Fix tm request when non-fatal error happens
- bpf: Prevent double bpf_prog_put call from bpf_tracing_prog_attach
- [powerpc*] Use the common INIT_DATA_SECTION macro in vmlinux.lds.S
- [powerpc*] Fix alignment bug within the init sections
- [arm64] entry: remove redundant IRQ flag tracing
- bpf: Reject too big ctx_size_in for raw_tp test run
- RDMA/umem: Avoid undefined behavior of rounddown_pow_of_two()
- RDMA/cma: Fix error flow in default_roce_mode_store
- printk: ringbuffer: fix line counting
- printk: fix kmsg_dump_get_buffer length calulations
- iov_iter: fix the uaccess area in copy_compat_iovec_from_user
- [mips*] i2c: octeon: check correct size of maximum RECV_LEN packet
- [armel,armhf] drm/vc4: Unify PCM card's driver_name
- [x86] platform/x86: intel-vbtn: Drop HP Stream x360 Convertible PC 11
from allow-list
- [x86] platform/x86: hp-wmi: Don't log a warning on
HPWMI_RET_UNKNOWN_COMMAND errors
- ALSA: hda: Balance runtime/system PM if direct-complete is disabled
- xsk: Clear pool even for inactive queues
- can: dev: can_restart: fix use after free bug
- can: vxcan: vxcan_xmit: fix use after free bug
- can: peak_usb: fix use after free bugs
- iio: common: st_sensors: fix possible infinite loop in
st_sensors_irq_thread
- iio: ad5504: Fix setting power-down state
- drivers: iio: temperature: Add delay after the addressed reset command
in mlx90632.c
- [powerpc*] 64s: fix scv entry fallback flush vs interrupt
- cifs: do not fail __smb_send_rqst if non-fatal signals are pending
- [mips*] irqchip/mips-cpu: Set IPI domain parent chip
- [x86] fpu: Add kernel_fpu_begin_mask() to selectively initialize state
- [x86] topology: Make __max_die_per_package available unconditionally
- [x86] mmx: Use KFPU_387 for MMX string operations
- [x86] setup: don't remove E820_TYPE_RAM for pfn 0
- proc_sysctl: fix oops caused by incorrect command parameters
- mm: memcg/slab: optimize objcg stock draining
- mm: memcg: fix memcg file_dirty numa stat
- mm: fix numa stats for thp migration
- io_uring: iopoll requests should also wake task ->in_idle state
- io_uring: fix SQPOLL IORING_OP_CLOSE cancelation state
- io_uring: fix short read retries for non-reg files
- [x86] intel_th: pci: Add Alder Lake-P support
- [arm64] serial: mvebu-uart: fix tx lost characters at power off
- ehci: fix EHCI host controller initialization sequence
- [armhf] usb: gadget: aspeed: fix stop dma register setting.
- USB: gadget: dummy-hcd: Fix errors in port-reset handling
- usb: udc: core: Use lock when write to soft_connect
- xhci: make sure TRB is fully written before giving it to the controller
- [arm64,armhf] xhci: tegra: Delay for disabling LFPS detector
- drivers core: Free dma_range_map when driver probe failed
- driver core: Fix device link device name collision
- driver core: Extend device_is_dependent()
- [x86] drm/i915: s/intel_dp_sink_dpms/intel_dp_set_power/
- [x86] drm/i915: Only enable DFP 4:4:4->4:2:0 conversion when outputting
YCbCr 4:4:4
- [x86] entry: Fix noinstr fail
- [x86] cpu/amd: Set __max_die_per_package on AMD
- cls_flower: call nla_ok() before nla_next()
- netfilter: rpfilter: mask ecn bits before fib lookup
- [x86] drm/i915/hdcp: Update CP property in update_pipe
- locking/lockdep: Cure noinstr fail
- [x86] ASoC: SOF: Intel: fix page fault at probe if i915 init fails
- [arm64,armhf] net: dsa: mv88e6xxx: also read STU state in
mv88e6250_g1_vtu_getnext
- nvme-pci: refactor nvme_unmap_data
- nvme-pci: fix error unwind in nvme_map_data
- cachefiles: Drop superfluous readpages aops NULL check
- skbuff: back tiny skbs with kmalloc() in __netdev_alloc_skb() too
- tcp: fix TCP socket rehash stats mis-accounting
- net_sched: gen_estimator: support large ewma log
- udp: mask TOS bits in udp_v4_early_demux()
- ipv6: create multicast route with RTPROT_KERNEL
- net_sched: avoid shift-out-of-bounds in tcindex_set_parms()
- net_sched: reject silly cell_log in qdisc_get_rtab()
- ipv6: set multicast flag on the multicast route
- net: Disable NETIF_F_HW_TLS_RX when RXCSUM is disabled
- [armhf] net: dsa: b53: fix an off by one in checking "vlan->vid"
- tcp: do not mess with cloned skbs in tcp_add_backlog()
- tcp: fix TCP_USER_TIMEOUT with zero window
- net: core: devlink: use right genl user_ptr when handling port param
get/set
- [arm64] pinctrl: qcom: Allow SoCs to specify a GPIO function that's not
0
- [arm64] pinctrl: qcom: No need to read-modify-write the interrupt status
- [arm64] pinctrl: qcom: Properly clear "intr_ack_high" interrupts when
unmasking
- [arm64] pinctrl: qcom: Don't clear pending interrupts when enabling
- tty: implement write_iter
- tty: fix up hung_up_tty_write() conversion
- tcp: Fix potential use-after-free due to double kfree()
- [x86] ASoC: SOF: Intel: hda: Avoid checking jack on system suspend
- [x86] drm/i915/hdcp: Get conn while content_type changed
- bpf: Local storage helpers should check nullness of owner ptr passed
- kernfs: implement ->read_iter
- kernfs: implement ->write_iter
- kernfs: wire up ->splice_read and ->splice_write
- fs/pipe: allow sendfile() to pipe again
- mm: fix initialization of struct page for holes in memory layout
- Revert "mm: fix initialization of struct page for holes in memory
layout"
https://www.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.10.12
- [arm*] gpio: mvebu: fix pwm .get_state period calculation
- Revert "mm/slub: fix a memory leak in sysfs_slab_add()"
- HID: wacom: Correct NULL dereference on AES pen proximity
- HID: multitouch: Apply MT_QUIRK_CONFIDENCE quirk for multi-input devices
- media: Revert "media: videobuf2: Fix length check for single plane
dmabuf queueing"
- media: v4l2-subdev.h: BIT() is not available in userspace
- RDMA/vmw_pvrdma: Fix network_hdr_type reported in WC
- iwlwifi: dbg: Don't touch the tlv data
- kernel/io_uring: cancel io_uring before task works
- io_uring: inline io_uring_attempt_task_drop()
- io_uring: add warn_once for io_uring_flush()
- io_uring: stop SQPOLL submit on creator's death
- io_uring: fix null-deref in io_disable_sqo_submit
- io_uring: do sqo disable on install_fd error
- io_uring: fix false positive sqo warning on flush
- io_uring: fix uring_flush in exit_files() warning
- io_uring: fix skipping disabling sqo on exec
- io_uring: dont kill fasync under completion_lock
- io_uring: fix sleeping under spin in __io_clean_op
- objtool: Don't fail on missing symbol table
- mm/page_alloc: add a missing mm_page_alloc_zone_locked() tracepoint
- mm: fix a race on nr_swap_pages
- tools: Factor HOSTCC, HOSTLD, HOSTAR definitions
- printk: fix buffer overflow potential for print_text()
- printk: fix string termination for record_print_text()
[ Salvatore Bonaccorso ]
* Add set of PI futex fixes (CVE-2021-3347)
- futex: Ensure the correct return value from futex_lock_pi()
- futex: Replace pointless printk in fixup_owner()
- futex: Provide and use pi_state_update_owner()
- rtmutex: Remove unused argument from rt_mutex_proxy_unlock()
- futex: Use pi_state_update_owner() in put_pi_state()
- futex: Simplify fixup_pi_state_owner()
- futex: Handle faults correctly for PI futexes
* Bump ABI to 3
* xen: Fix XenStore initialisation for XS_LOCAL
* [rt] Refresh "printk: refactor kmsg_dump_get_buffer()"
* [rt] Refresh "locking/rtmutex: Handle the various new futex race
conditions"
* [rt] Refresh "locking/rtmutex: add sleeping lock implementation"
* [rt] Refresh "crypto: limit more FPU-enabled sections"
* Unset CRYPTO_USER_API_ENABLE_OBSOLETE
[ Ricardo Ribalda ]
* Enable USB_NET_AQC111 as module (Closes: #968760)
[ Vincent Blut ]
* [arm64] Enable DRM_VC4 again. (Closes: #968181, #968188)
* [arm64] Enable DRM_VC4_HDMI_CEC. (Closes: #977438)
[dgit import unpatched linux 5.10.12-1]
Salvatore Bonaccorso [Sat, 30 Jan 2021 20:38:57 +0000 (20:38 +0000)]
Import linux_5.10.12.orig.tar.xz
[dgit import orig linux_5.10.12.orig.tar.xz]
Salvatore Bonaccorso [Sat, 30 Jan 2021 20:38:57 +0000 (20:38 +0000)]
Import linux_5.10.12-1.debian.tar.xz
[dgit import tarball linux 5.10.12-1 linux_5.10.12-1.debian.tar.xz]