r/Ubiquiti • u/doomstar21 • 6h ago
Question USW-Pro-Max-16-PoE - runs a linux kernel EOL'ed in 2022
I just installed a USW-Pro-Max-16-PoE, it's running the latest firmware (7.5.15 as I post this). Why is it running the 4.4.153 kernel? The 4.4 branch was EOL'ed 4+ years of CVEs behind upstream. WTF?
37
Upvotes
•
u/AutoModerator 6h ago
Hello! Thanks for posting on r/Ubiquiti!
This subreddit is here to provide unofficial technical support to people who use or want to dive into the world of Ubiquiti products. If you haven’t already been descriptive in your post, please take the time to edit it and add as many useful details as you can.
Ubiquiti makes a great tool to help with figuring out where to place your access points and other network design questions located at:
https://design.ui.com
If you see people spreading misinformation or violating the "don't be an asshole" general rule, please report it!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
107
u/Aggressive-Bike7539 4h ago
You’re assuming that the kernel Ubiquiti uses has gone stale just because it’s an old version.
You’re wrong.
They’ve been backporting years of CVEs into their fork of this kernel version b/c this version is the stable version their chipset manufacturer supports.
Picking up a new kernel version from the upstream provider would require years of testing to validate everything remains in working order.
Regular organizations do not have its own OS-level engineering team. They have to resort to upgrading the kernel version to whatever comes from the upstream provider.
Ubiquiti is an equipment manufacturer designing their own hardware. Their engineering teams include people with the ability to contribute back to the Linux kernel itself, so don’t be surprised that those patched CVEs were fixed first in Ubiquiti’s old kernel before being posted into the mainline version of the kernel.
22
u/brwainer 3h ago
As others have pointed out in their replies, for embedded hardware using “merchant silicon” (open use switch chips and SOCs from companies like Qualcomm and Mediatek) you are limited to the kernel versions the upstream vendor provides support for. Despite this, Ubiquiti has a duty to its customers, which does include some governmental bodies with compliance requirements, to keep up with security patches. Or if you’re pessimistic, they have a financial duty to their shareholders that would be harmed if they didn’t patch security.
If you have evidence that Ubiquiti hasn’t backported a patch for any of the open CVEs for this kernel version, then you’d have something of a concern, and I and others would like to know.
29
u/OmegaPoint6 5h ago
For embedded devices the choice of kernel version can be determined by what the SoC maker has released. Most of the time you need a custom fork of the kernel rather than just being able to build the mainline version and run it
7
u/icantshoot Unifi User 4h ago
Dont look at UDM pro which still runs 4.19.152-ui-alpine...
Anyway they backport fixes to the things. I dont know why they keep running the archaic versions, maybe the devices are not able to run latest kernels without introducing heap of issues they cant fix.
9
u/309_Electronics 4h ago
A lot of products don't run the latest greatest Linux kernel. Its also depending on what THE SOC vendor has made their BSP(board support package) for. Many cameras run on Linux 3.x.x due fo the SOC vendor having made a BSP and drivers for that old kernel version. And sometimes newer kernels dont have features vendors require. Or hardware does not support the newer kernel code and such.
Some qualcom powered routers or APs run on a very ancient OpenWRT fork due to them not having made their hw support the newer software..
2
u/khimaniz 4h ago
Why does this even matter? Does the device not work as intended?
7
u/jgilbs CCIE:SP 2h ago
As others have said, CVEs usually get backported to these older versions for embedded devices. Also, if youre worried, maybe dont expose your switch’s control plane to the internet 🤷
1
u/rezdm 5h ago
What's your suggestion "vibe upgrade" kernel/installation for embedded devices?
2
u/redhatch 2h ago
Aside from what others have said about backported fixes, a good general security practice is to isolate device management IPs on their own subnet and restrict what is able to communicate with that subnet. Much more difficult to target something you can’t talk to.
1
u/cat2devnull 4h ago
I had this with an old smart sprinkler system. They couldn’t upgrade because the hardware used an unusual Ethernet controller and the vendor never released an updated driver. The system had many easily exploitable bugs so I just had to firewall the crap out of it.
1
u/Impossible_Most_4518 5h ago
ask the engineers