Commit Graph

6274 Commits

Author SHA1 Message Date
Maximilian Bosch
b561e2cad4
Merge pull request #191364 from superherointj/kernel-upgrade-5.19.9
linux: 5.19.8 -> 5.19.9
2022-09-17 15:18:04 +02:00
PedroHLC ☭
3b6bcd3c78
linux-lqx: 5.19.8 -> 5.19.9 2022-09-16 11:14:01 -03:00
PedroHLC ☭
a200b12139
linux-zen: 5.19.8 -> 5.19.9 2022-09-16 11:12:02 -03:00
superherointj
558d9998a7 linux_latest-libre: 18904 -> 18911 2022-09-15 14:55:50 -03:00
superherointj
18a8634d15 linux: 5.4.212 -> 5.4.213 2022-09-15 14:55:22 -03:00
superherointj
9f80f6bfa9 linux: 5.19.8 -> 5.19.9 2022-09-15 14:55:13 -03:00
superherointj
087dde20eb linux: 5.15.67 -> 5.15.68 2022-09-15 14:55:02 -03:00
superherointj
2875584458 linux: 5.10.142 -> 5.10.143 2022-09-15 14:54:50 -03:00
superherointj
ba9e102d79 linux: 4.9.327 -> 4.9.328 2022-09-15 14:54:40 -03:00
superherointj
d233f0c847 linux: 4.19.257 -> 4.19.258 2022-09-15 14:54:32 -03:00
superherointj
e78ad2c848 linux: 4.14.292 -> 4.14.293 2022-09-15 14:54:22 -03:00
PedroHLC ☭
936dc7a83e
linux-zen: 5.19.7 -> 5.19.8 2022-09-14 09:33:47 -03:00
PedroHLC ☭
9dcd9d4c61
linux-lqx: 5.19.7 -> 5.19.8 2022-09-14 09:33:47 -03:00
Bernardo Meurer
c619f9ca04
linuxKernel.kernels.linux_testing: 6.0-rc1 -> 6.0-rc5 2022-09-12 14:53:43 -03:00
Vladimír Čunát
71bd9f638c
Merge #188704: linux: Disable DRM_LEGACY, NOUVEAU_LEGACY_CTX_SUPPORT 2022-09-12 08:02:13 +02:00
Christian Kögler
0fcee2222d
Merge pull request #180305 from amarshall/remove-unused-kernel-patches
linux: Remove unused Kernel patches
2022-09-11 08:04:55 +02:00
Bernardo Meurer
1f1aca42d0
linux/hardened/patches/5.4: 5.4.211-hardened1 -> 5.4.212-hardened1 2022-09-09 15:59:06 -03:00
Bernardo Meurer
722d9d0d00
linux/hardened/patches/5.19: 5.19.6-hardened1 -> 5.19.8-hardened1 2022-09-09 15:58:58 -03:00
Bernardo Meurer
fa2034286c
linux/hardened/patches/5.15: 5.15.64-hardened1 -> 5.15.67-hardened1 2022-09-09 15:58:49 -03:00
Bernardo Meurer
d1f6bac7c0
linux/hardened/patches/5.10: 5.10.140-hardened1 -> 5.10.142-hardened1 2022-09-09 15:58:40 -03:00
Bernardo Meurer
a43178b658
linux/hardened/patches/4.19: 4.19.256-hardened1 -> 4.19.257-hardened1 2022-09-09 15:58:32 -03:00
Bernardo Meurer
ec9ecabc95
linux/hardened/patches/4.14: 4.14.291-hardened1 -> 4.14.292-hardened1 2022-09-09 15:58:24 -03:00
Bernardo Meurer
afcc2dafdf
linux_latest-libre: 18885 -> 18904 2022-09-09 15:57:52 -03:00
Bernardo Meurer
c000edba79
linux-rt_5_10: 5.10.131-rt72 -> 5.10.140-rt73 2022-09-09 15:57:15 -03:00
Bernardo Meurer
a38d853569
linux: 5.4.211 -> 5.4.212 2022-09-09 15:57:02 -03:00
Bernardo Meurer
2f0101f380
linux: 5.19.6 -> 5.19.8 2022-09-09 15:56:56 -03:00
Bernardo Meurer
cece1283c9
linux: 5.15.64 -> 5.15.67 2022-09-09 15:56:48 -03:00
Bernardo Meurer
2919da7f54
linux: 5.10.140 -> 5.10.142 2022-09-09 15:56:36 -03:00
Bernardo Meurer
52851d8857
linux: 4.9.326 -> 4.9.327 2022-09-09 15:56:29 -03:00
Bernardo Meurer
802f5b4771
linux: 4.19.256 -> 4.19.257 2022-09-09 15:56:19 -03:00
Bernardo Meurer
787baf2459
linux: 4.14.291 -> 4.14.292 2022-09-09 15:56:09 -03:00
PedroHLC ☭
df056ec4fa
zen-kernels: 5.19.6 -> 5.19.7 2022-09-05 16:14:40 -03:00
superherointj
e6c5f49c18
Merge pull request #189132 from superherointj/kernel-update-5.19.6-date-2022-08-31
Linux Kernel update 5.19.6 date 2022-08-31
2022-09-01 11:14:32 -03:00
PedroHLC ☭
edb471b90f
zen-kernels: 5.19.4 -> 5.19.6 2022-09-01 08:30:02 -03:00
superherointj
a37389d4fe linux/hardened/patches/5.19: 5.19.5-hardened1 -> 5.19.6-hardened1 2022-08-31 23:14:40 -03:00
superherointj
3c23d0194e linux/hardened/patches/5.15: 5.15.63-hardened1 -> 5.15.64-hardened1 2022-08-31 23:14:30 -03:00
superherointj
7afe0b6ec7 linux/hardened/patches/5.10: 5.10.139-hardened1 -> 5.10.140-hardened1 2022-08-31 23:14:23 -03:00
superherointj
7210ee48ed linux: 5.19.5 -> 5.19.6 2022-08-31 13:04:00 -03:00
superherointj
666470c12d linux: 5.15.63 -> 5.15.64 2022-08-31 13:03:49 -03:00
superherointj
7168244a19 linux: 5.10.139 -> 5.10.140 2022-08-31 13:03:38 -03:00
superherointj
8720e91143 linux/hardened/patches/5.4: 5.4.210-hardened1 -> 5.4.211-hardened1 2022-08-29 20:23:15 -03:00
superherointj
6c64bc1513 linux/hardened/patches/5.19: init at 5.19.5-hardened1 2022-08-29 20:23:08 -03:00
superherointj
9c52217141 linux/hardened/patches/5.15: 5.15.62-hardened1 -> 5.15.63-hardened1 2022-08-29 20:23:01 -03:00
superherointj
18e3f842ec linux/hardened/patches/5.10: 5.10.137-hardened1 -> 5.10.139-hardened1 2022-08-29 20:22:53 -03:00
superherointj
c963a9fd67 linux/hardened/patches/4.19: 4.19.255-hardened1 -> 4.19.256-hardened1 2022-08-29 20:22:46 -03:00
superherointj
3235fcb17d linux/hardened/patches/4.14: 4.14.290-hardened1 -> 4.14.291-hardened1 2022-08-29 20:22:35 -03:00
superherointj
bb0eb96d45 linux: 5.19.4 -> 5.19.5 2022-08-29 20:22:06 -03:00
superherointj
0d7868b45f linux: 5.10.138 -> 5.10.139 2022-08-29 20:22:00 -03:00
Andrew Marshall
bcd41f2891 linux: Disable DRM_LEGACY, NOUVEAU_LEGACY_CTX_SUPPORT
This currently gets enabled as generate-config.pl will enable all the
drivers below it as modules.

Is “not set” in [Arch][1], [Debian][2], [Fedora][3]. See also [summary
of setting from various distros in April 2020][4].

Recommended disabled by [CLIP OS][5] and per current [Kernel config
description][6]:

> bool "Enable legacy drivers (DANGEROUS)"
> Enable legacy DRI1 drivers. Those drivers expose unsafe and dangerous
> APIs to user-space, which can be used to circumvent access
> restrictions and other security measures. For backwards compatibility
> those drivers are still available, but their use is highly
> inadvisable and might harm your system.
>
> You are recommended to use the safe modeset-only drivers instead, and
> perform 3D emulation in user-space.
>
> Unless you have strong reasons to go rogue, say "N".

Also disable NOUVEAU_LEGACY_CTX_SUPPORT, as this does `select
DRM_LEGACY`. Per Kernel config docs:

>There was a version of the nouveau DDX that relied on legacy
> ctx ioctls not erroring out. But that was back in time a long
> ways, so offer a way to disable it now. For uapi compat with
> old nouveau ddx this should be on by default, but modern distros
> should consider turning it off.

and the [commit][7]:

> These driver functions contain several bugs and security holes. This
> change makes these functions optional can be turned on by a setting,
> they are turned off by default for modeset driver with the exception of
> the nouvea driver that may require them with an old version of libdrm.

Referenced earlier commit elaborates that

> libdrm_nouveau before 2.4.33 used contexts

Since nixpkgs here has a much newer version (2.4.33 is from March 2012),
should not be a concern.

NOUVEAU_LEGACY_CTX_SUPPORT is also “not set” in the linked Arch, Debian,
& Fedora configs.

[1]: 66d72ee54a/trunk/config (L6637)
[2]: 07731f5956/debian/config/config (L713)
[3]: https://src.fedoraproject.org/rpms/kernel/blob/rawhide/f/kernel-x86_64-fedora.config#_1528
[4]: https://github.com/a13xp0p0v/kconfig-hardened-check/issues/38#issuecomment-608639217
[5]: https://docs.clip-os.org/clipos/kernel.html#configuration
[6]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/Kconfig#n421
[7]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b30a43ac7132cdda833ac4b13dd1ebd35ace14b7
2022-08-27 18:40:32 -04:00
Andrew Marshall
00a45bc41b linux: Enable SLAB_FREELIST_HARDENED, SLAB_FREELIST_RANDOM
Enabled in [Arch][1], [Debian][2], [Fedora][3]; no others checked.
Recommended by [Kernel Self Protection Project][4]. This should also
implicitly enable SHUFFLE_PAGE_ALLOCATOR.

Performance impact per upstream:

For _HARDENED:
> The difference gets lost in the noise, but if the above is to be taken
> literally, using CONFIG_FREELIST_HARDENED is 0.07% slower.

For _RANDOM:
> Performance results highlighted no major changes

[1]: 66d72ee54a/trunk/config (L1037-L1038)
[2]: 07731f5956/debian/config/config (L6742-6743)
[3]: 6d6ad72f0c/f/kernel-x86_64-fedora.config (_6079)
[4]: https://kernsec.org/wiki/index.php/Kernel_Self_Protection_Project/Recommended_Settings
2022-08-27 15:05:35 -04:00