Commit Graph

10397 Commits

Author SHA1 Message Date
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
Martino Fontana
014f12b87e linux: disable NTFS_FS, enable NTFS3_LZX_XPRESS and NTFS3_FS_POSIX_ACL 2022-08-26 20:32:37 +02:00
Maximilian Bosch
647f99eb3d Merge pull request #188335 from superherointj/linux-kernel-updates-2022-08-25
Linux kernel updates 2022-08-25
2022-08-26 13:06:13 +02:00
superherointj
2179378618 Merge pull request #188323 from PedroHLC/zen-kernels-5.19.4
zen-kernels: 5.19.3 -> 5.19.4
2022-08-25 20:52:55 -03:00
superherointj
fe76cced40 linux_latest-libre: 18880 -> 18885 2022-08-25 20:28:53 -03:00
superherointj
645ad87d82 linux: 5.4.210 -> 5.4.211 2022-08-25 20:28:33 -03:00
superherointj
fc04b42545 linux: 5.19.3 -> 5.19.4 2022-08-25 20:28:28 -03:00
superherointj
fba0a26dd8 linux: 5.15.62 -> 5.15.63 2022-08-25 20:28:21 -03:00
superherointj
20009a7b14 linux: 5.10.137 -> 5.10.138 2022-08-25 20:28:16 -03:00
superherointj
105b6f1baf linux: 4.9.325 -> 4.9.326 2022-08-25 20:28:11 -03:00
superherointj
bb50933572 linux: 4.19.255 -> 4.19.256 2022-08-25 20:28:06 -03:00
superherointj
e37f235e3a linux: 4.14.290 -> 4.14.291 2022-08-25 20:28:01 -03:00
superherointj
c6030d7d36 Merge pull request #180316 from michaeladler/zen
linux_lqx, linux_zen: avoid unnecessary prefetch
2022-08-25 20:15:13 -03:00
PedroHLC ☭
2400c9dca7 zen-kernels: 5.19.3 -> 5.19.4 2022-08-25 18:12:51 -03:00
Vladimír Čunát
c6ea2601a0 Merge #187409: linux_5_4_hardened: don't build on x86_64-linux 2022-08-25 09:57:26 +02:00
Sandro
d941f93a53 Merge pull request #187022 from SuperSandro2000/linux-update-script 2022-08-24 20:55:09 +02:00
Sergei Trofimovich
36ba9b7a57 Merge pull request #188121 from trofi/perf-fix-for-binutils-2.39
linuxPackages.perf: use binutils-2.38 for linux before 5.19
2022-08-24 19:48:44 +01:00
Maximilian Bosch
a6b2e70bb9 Merge pull request #188027 from Ma27/linux-kernel-updates
Linux kernel updates 2022-08-23
2022-08-24 10:39:25 +02:00
Sergei Trofimovich
19b8b523c9 linuxPackages.perf: use binutils-2.38 for linux before 5.19
Without the change perf build fails on binutils-2.39 due to API change:

util/annotate.c: In function 'symbol__disassemble_bpf':
util/annotate.c:1765:9: error: too few arguments to function 'init_disassemble_info'
 1765 |         init_disassemble_info(&info, s,
      |         ^~~~~~~~~~~~~~~~~~~~~
2022-08-24 07:25:08 +01:00
Maximilian Bosch
c8322d761e linux/hardened/patches/5.18: 5.18.17-hardened1 -> 5.18.19-hardened1 2022-08-23 15:20:23 +02:00
Maximilian Bosch
59d8bb65af linux/hardened/patches/5.15: 5.15.60-hardened1 -> 5.15.62-hardened1 2022-08-23 15:20:08 +02:00
Maximilian Bosch
92020eb821 linux/hardened/patches/5.10: 5.10.136-hardened1 -> 5.10.137-hardened1 2022-08-23 15:19:54 +02:00
Maximilian Bosch
44ff12b6d9 linux_latest-libre: 18837 -> 18880 2022-08-23 15:19:09 +02:00
Maximilian Bosch
76ffc68429 linux: 5.19.2 -> 5.19.3 2022-08-23 15:18:47 +02:00
Maximilian Bosch
b0a84e1b65 linux: 5.18.18 -> 5.18.19 2022-08-23 15:18:33 +02:00
Maximilian Bosch
7ca490c3d2 linux: 5.15.61 -> 5.15.62 2022-08-23 15:18:20 +02:00
Maximilian Bosch
0858a9a4dd linux: 5.10.136 -> 5.10.137 2022-08-23 15:18:07 +02:00
PedroHLC ☭
94b4e8ff7a zen-kernels: 5.19.2 -> 5.19.3 2022-08-22 10:12:03 -03:00
K900
fd53244bec linux: fix builds for old LTS kernels 2022-08-21 11:07:58 +03:00