Bug 447389 (CVE-2008-2358)
Summary: | CVE-2008-2358 kernel: dccp: sanity check feature length | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Jan Lieskovsky <jlieskov> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | acme, anton, chrisw, dhoward, jskrabal, lwang, security-response-team, vgoyal, williams |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-12-23 19:00:26 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 447395, 447396 | ||
Bug Blocks: |
Description
Jan Lieskovsky
2008-05-19 19:33:14 UTC
Proposed patch from the reporter: --- diff --git a/net/dccp/feat.c b/net/dccp/feat.c index a1b0682..aceb1db 100644 --- a/net/dccp/feat.c +++ b/net/dccp/feat.c @@ -25,6 +25,11 @@ int dccp_feat_change(struct dccp_minisock *dmsk, u8 type, u8 feature, dccp_pr_debug("feat change type=%d feat=%d\n", type, feature); + if (len > 3) { + if (net_ratelimit()) + printk("%s: invalid length %d\n", __func__, len); + return -EINVAL; + } /* XXX sanity check feat change request */ /* check if that feature is already being negotiated */ Public now, lifting embargo: http://lists.debian.org/debian-security-announce/2008/msg00172.html This was addressed via: Red Hat Enterprise Linux version 5 (RHSA-2008:0519) |