CVE-2004-2731

Summary

CVECVE-2004-2731
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2004-12-31 05:00:00 UTC
Updated2025-04-03 01:03:51 UTC
DescriptionMultiple integer overflows in Sbus PROM driver (drivers/sbus/char/openprom.c) for the Linux kernel 2.4.x up to 2.4.27, 2.6.x up to 2.6.7, and possibly later versions, allow local users to execute arbitrary code by specifying (1) a small buffer size to the copyin_string function or (2) a negative buffer size to the copyin function.

Risk And Classification

Primary CVSS: v2.0 4.4 from [email protected]

AV:L/AC:M/Au:N/C:P/I:P/A:P

Problem Types: CWE-189 | n/a

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:L/AC:M/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel 2.4.0 All All All
Operating System Linux Linux Kernel 2.4.0 test1 All All
Operating System Linux Linux Kernel 2.4.0 test10 All All
Operating System Linux Linux Kernel 2.4.0 test11 All All
Operating System Linux Linux Kernel 2.4.0 test12 All All
Operating System Linux Linux Kernel 2.4.0 test2 All All
Operating System Linux Linux Kernel 2.4.0 test3 All All
Operating System Linux Linux Kernel 2.4.0 test4 All All
Operating System Linux Linux Kernel 2.4.0 test5 All All
Operating System Linux Linux Kernel 2.4.0 test6 All All
Operating System Linux Linux Kernel 2.4.0 test7 All All
Operating System Linux Linux Kernel 2.4.0 test8 All All
Operating System Linux Linux Kernel 2.4.0 test9 All All
Operating System Linux Linux Kernel 2.4.1 All All All
Operating System Linux Linux Kernel 2.4.10 All All All
Operating System Linux Linux Kernel 2.4.11 All All All
Operating System Linux Linux Kernel 2.4.11 pre3 All All
Operating System Linux Linux Kernel 2.4.12 All All All
Operating System Linux Linux Kernel 2.4.13 All All All
Operating System Linux Linux Kernel 2.4.14 All All All
Operating System Linux Linux Kernel 2.4.15 All All All
Operating System Linux Linux Kernel 2.4.16 All All All
Operating System Linux Linux Kernel 2.4.17 All All All
Operating System Linux Linux Kernel 2.4.18 All All All
Operating System Linux Linux Kernel 2.4.18 pre1 All All
Operating System Linux Linux Kernel 2.4.18 pre2 All All
Operating System Linux Linux Kernel 2.4.18 pre3 All All
Operating System Linux Linux Kernel 2.4.18 pre4 All All
Operating System Linux Linux Kernel 2.4.18 pre5 All All
Operating System Linux Linux Kernel 2.4.18 pre6 All All
Operating System Linux Linux Kernel 2.4.18 pre7 All All
Operating System Linux Linux Kernel 2.4.18 pre8 All All
Operating System Linux Linux Kernel 2.4.18 pre9 All All
Operating System Linux Linux Kernel 2.4.19 All All All
Operating System Linux Linux Kernel 2.4.19 pre1 All All
Operating System Linux Linux Kernel 2.4.19 pre2 All All
Operating System Linux Linux Kernel 2.4.19 pre3 All All
Operating System Linux Linux Kernel 2.4.19 pre4 All All
Operating System Linux Linux Kernel 2.4.19 pre5 All All
Operating System Linux Linux Kernel 2.4.19 pre6 All All
Operating System Linux Linux Kernel 2.4.2 All All All
Operating System Linux Linux Kernel 2.4.20 All All All
Operating System Linux Linux Kernel 2.4.21 All All All
Operating System Linux Linux Kernel 2.4.21 pre1 All All
Operating System Linux Linux Kernel 2.4.21 pre4 All All
Operating System Linux Linux Kernel 2.4.21 pre7 All All
Operating System Linux Linux Kernel 2.4.22 All All All
Operating System Linux Linux Kernel 2.4.22 pre10 All All
Operating System Linux Linux Kernel 2.4.23 All All All
Operating System Linux Linux Kernel 2.4.23 pre9 All All
Operating System Linux Linux Kernel 2.4.23_ow2 All All All
Operating System Linux Linux Kernel 2.4.24 All All All
Operating System Linux Linux Kernel 2.4.24_ow1 All All All
Operating System Linux Linux Kernel 2.4.25 All All All
Operating System Linux Linux Kernel 2.4.26 All All All
Operating System Linux Linux Kernel 2.4.27 All All All
Operating System Linux Linux Kernel 2.4.27 pre1 All All
Operating System Linux Linux Kernel 2.4.27 pre2 All All
Operating System Linux Linux Kernel 2.4.27 pre3 All All
Operating System Linux Linux Kernel 2.4.27 pre4 All All
Operating System Linux Linux Kernel 2.4.27 pre5 All All
Operating System Linux Linux Kernel 2.4.28 All All All
Operating System Linux Linux Kernel 2.4.29 All All All
Operating System Linux Linux Kernel 2.4.29 rc1 All All
Operating System Linux Linux Kernel 2.4.29 rc2 All All
Operating System Linux Linux Kernel 2.4.3 All All All
Operating System Linux Linux Kernel 2.4.3 pre3 All All
Operating System Linux Linux Kernel 2.4.30 All All All
Operating System Linux Linux Kernel 2.4.30 rc2 All All
Operating System Linux Linux Kernel 2.4.30 rc3 All All
Operating System Linux Linux Kernel 2.4.31 All All All
Operating System Linux Linux Kernel 2.4.31 pre1 All All
Operating System Linux Linux Kernel 2.4.32 All All All
Operating System Linux Linux Kernel 2.4.32 pre1 All All
Operating System Linux Linux Kernel 2.4.32 pre2 All All
Operating System Linux Linux Kernel 2.4.33 All All All
Operating System Linux Linux Kernel 2.4.33 pre1 All All
Operating System Linux Linux Kernel 2.4.33.2 All All All
Operating System Linux Linux Kernel 2.4.33.3 All All All
Operating System Linux Linux Kernel 2.4.33.4 All All All
Operating System Linux Linux Kernel 2.4.33.5 All All All
Operating System Linux Linux Kernel 2.4.34 All All All
Operating System Linux Linux Kernel 2.4.34 rc3 All All
Operating System Linux Linux Kernel 2.4.34.1 All All All
Operating System Linux Linux Kernel 2.4.34.2 All All All
Operating System Linux Linux Kernel 2.4.35 All All All
Operating System Linux Linux Kernel 2.4.35.2 All All All
Operating System Linux Linux Kernel 2.4.4 All All All
Operating System Linux Linux Kernel 2.4.5 All All All
Operating System Linux Linux Kernel 2.4.6 All All All
Operating System Linux Linux Kernel 2.4.7 All All All
Operating System Linux Linux Kernel 2.4.8 All All All
Operating System Linux Linux Kernel 2.4.9 All All All
Operating System Linux Linux Kernel 2.4.9_pre5 All All All
Operating System Linux Linux Kernel 2.6.0 All All All
Operating System Linux Linux Kernel 2.6.1 All All All
Operating System Linux Linux Kernel 2.6.2 All All All
Operating System Linux Linux Kernel 2.6.3 All All All
Operating System Linux Linux Kernel 2.6.4 All All All
Operating System Linux Linux Kernel 2.6.5 All All All
Operating System Linux Linux Kernel 2.6.6 All All All
Operating System Linux Linux Kernel 2.6.7 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Secunia - Advisories - Linux Kernel Sbus PROM Driver Multiple Integer Overflow Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
www.osvdb.org/7345 af854a3a-2127-422b-91ae-364da2661108 www.osvdb.org
www.osvdb.org/8363 af854a3a-2127-422b-91ae-364da2661108 www.osvdb.org
Linux Kernel Sbus PROM Driver Multiple Integer Overflow Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
archives.neohapsis.com/archives/bugtraq/2004-06/0463.html af854a3a-2127-422b-91ae-364da2661108 archives.neohapsis.com Exploit
SecurityTracker.com Archives - Linux Kernel SBus PROM Driver Integer Overflows Let Local Users Crash the System af854a3a-2127-422b-91ae-364da2661108 securitytracker.com
Debian update for kernel - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
Debian -- Security Information -- DSA-1503-1 kernel-source-2.4.27 af854a3a-2127-422b-91ae-364da2661108 www.debian.org
'Sbus PROM Driver Multiple Integer Overflows' - SecuriTeam af854a3a-2127-422b-91ae-364da2661108 www.securiteam.com Exploit
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2007-10-09Mark J CoxNot vulnerable. The Linux kernel as shipped with with Red Hat Enterprise Linux 2.1, 3, 4 and 5 did not include the Sbus PROM module and therefore are not affected by this issue.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report