/srv/irclogs.ubuntu.com/2022/11/25/#ubuntu-security.txt

grimmwareHey, I'm curious about how you get your upstream feeds for the USN and OVAL definitions, specifically for the Linux kernels on Ubuntu. Context is that we're considering the viability of building a 6.x kernel, but we want to know that we can get reliable metadata on which kernel CVEs affect our installed versions but as far as I can tell the versions are not included as metadata in the CVEs14:45
grimmwarethemselves, and I'm assuming that you as a security team are having to manually triage all of them to create that metadata for the supported Ubuntu kernels - is that accurate?14:45
jjohansengrimmware: for the kernels, the CVE # is rarely in the patch, the sourcing of the CVE comes from several different sources. There is the OSS mailing list, reporters may researcher/report the vulnerability directly to us, mitre (if a researcher/reporter gets a CVE number from them), we have representative on the kernel security ml (which is actually rarely used as most kernel CVEs seem to get assigned after the patch is public), 14:57
jjohansenand we coordinate as best we can with other distros14:57
grimmwarejjohansen: that is *really* helpful context, thank you for sharing!15:01
jjohansengrimmware: there are couple of other intermediary sources as well like ZDI who run pwn2own and run bug bounty programs15:03
jjohansenresearches will submit stuff to them (usually as part of pwn2own), and then ZDI will forward it to us if they take us down in pwn2own ...15:04
grimmwarejjohansen: I think the really killer feature that we want parity with is the ability to simply know what vulns we have where by matching version metadata (so thank you to all of the team for your hard work on that!)15:04
grimmwarehmm I think it might make sense for us to wait for 23.04 and then we can just wholesale backport the pre-built package15:35
grimmwareand then just track USNs the same way that we already do15:35
grimmwareI mean I guess that commits us to a kernel roll-forward when 23.10 comes out but I *really* want id-mapped mounts on overlay2 :P15:36
sdezielgrimmware: 22.04 will eventually get 23.04's kernel thanks to HWE kernels15:37
grimmware:O15:37
sdezielmy point is you won't need to do any backports of your own :)15:37
grimmwaresdeziel: do you know what the timescale for that is liable to be?15:37
grimmwarelike, roughly at release or ~weeks ~months later?15:38
sdezielgrimmware: I don't know of any dates but it shouldn't be too long for 5.19 to be available for 22.04. You can readily install `linux-image-generic-hwe-22.04-edge` and if you use jammy-proposed, you'd get a 5.19 kernel15:40
sdezielgrimmware: eventually, 5.19 will move from hwe-edge to hwe15:41
grimmware!15:41
grimmware5.19 actually has the base set of features I need I think15:41
sdezieland once 23.04 releases, the same deal will happen with its kernel15:41
sdezielgrimmware: this is documented in https://wiki.ubuntu.com/Kernel/LTSEnablementStack which doesn't mention 22.04 yet but the packages are available :)15:42
grimmwaresdeziel: awesome, thank you so much!15:42
sdezielhey, my pleasure!15:43
grimmwaresdeziel: do you know if they typically come with like, the -aws flavours?15:43
jjohansengrimmware: HWE kernel are literally the next release kernel built for the previous LTS15:43
grimmwarejjohansen: gotcha15:44
jjohansenso once 22.10 was released, its kernel became available for 22.04, there could be a little delay due to the odd issue but it should get updated on the 3 week cadence15:45
grimmwareawesome15:46
jjohansenthe other thing to note is once you opt into HWE you are on a rolling release kernel so once 23.04 is released, it becomes the new HWE kernel15:46
sdezielgrimmware: I don't know for the other flavors. For AWS, it seems that `linux-image-aws` is what keeps moving forward as Focal get's Jammy's 5.15 with it15:47
grimmwaresdeziel: that's interesting, I'll do a bit of research there15:47
grimmwareit could very well be here that the answer is "don't change anything and wait"15:48
sdezielgrimmware: I use `rmadison $pkg_name`.15:48
grimmwaresdeziel: TIL15:48
sdezielgrimmware: also, with HWE, you get the latest kernel available up to the next LTS at which point it stops moving forward. This means 20.04 + HWE will stop at 22.04 GA kernel (5.15)15:49
grimmwareyeah so looking at this bionic host `linux-image-aws` did indeed jump from 4.15 up to 5.3 and then 5.415:53
grimmwareI think this conversation has just saved me quite a lot of work15:53

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!